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


Public Member Functions | |
| init () | |
| invoke () | |
Protected Member Functions | |
| check_table (xmldb_table $xmldb_table, array $metacolumns) | |
| display_results (array $problems_found) | |
Protected Attributes | |
| $introstr = '' | |
Definition at line 33 of file XMLDBCheckAction.class.php.
| check_table | ( | xmldb_table $ | xmldb_table, |
| array $ | metacolumns | ||
| ) | [abstract, protected] |
Do the checks necessary on one particular table.
| xmldb_table | $xmldb_table | the table definition from the install.xml file. |
| array | $metacolumns | the column information read from the database. |
Reimplemented in check_bigints, check_foreign_keys, check_indexes, check_oracle_semantics, and check_defaults.

| display_results | ( | array $ | problems_found | ) | [abstract, protected] |
Display a list of the problems found.
| array | $problems_found | an aggregation of all the problems found by all the check_table calls. |
Reimplemented in check_foreign_keys, check_indexes, check_bigints, check_defaults, and check_oracle_semantics.

| init | ( | ) |
Init method, every subclass will have its own
Reimplemented from XMLDBAction.
Reimplemented in check_foreign_keys, check_bigints, check_oracle_semantics, check_defaults, and check_indexes.
Definition at line 43 of file XMLDBCheckAction.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 71 of file XMLDBCheckAction.class.php.

$introstr = '' [protected] |
This string is displayed with a yes/no choice before the report is run. You must set this to the name of a lang string in xmldb.php before calling init.
Definition at line 38 of file XMLDBCheckAction.class.php.