|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| init () | |
| invoke () | |
| create_table_php ($structure, $table) | |
| drop_table_php ($structure, $table) | |
| rename_table_php ($structure, $table) | |
Definition at line 33 of file view_structure_php.class.php.
| create_table_php | ( | $ | structure, |
| $ | table | ||
| ) |
This function will generate all the PHP code needed to create one table using XMLDB objects and functions
| xmldb_structure | structure object containing all the info |
| string | table table code to be created |
Definition at line 159 of file view_structure_php.class.php.


| drop_table_php | ( | $ | structure, |
| $ | table | ||
| ) |
This function will generate all the PHP code needed to drop one table using XMLDB objects and functions
| xmldb_structure | structure object containing all the info |
| string | table table code to be dropped |
Definition at line 239 of file view_structure_php.class.php.


| init | ( | ) |
Init method, every subclass will have its own
Reimplemented from XMLDBAction.
Definition at line 38 of file view_structure_php.class.php.

| invoke | ( | ) |
Invoke method, every class will have its own returns true/false on completion, setting both errormsg and output as necessary
Reimplemented from XMLDBAction.
Definition at line 58 of file view_structure_php.class.php.

| rename_table_php | ( | $ | structure, |
| $ | table | ||
| ) |
This function will generate all the PHP code needed to rename one table using XMLDB objects and functions
| xmldb_structure | structure object containing all the info |
| string | table table code to be renamed |
Definition at line 282 of file view_structure_php.class.php.

