Moodle  2.2.1
http://www.collinsharper.com
XMLDBCheckAction Class Reference
Inheritance diagram for XMLDBCheckAction:
Collaboration diagram for XMLDBCheckAction:

Public Member Functions

 init ()
 invoke ()

Protected Member Functions

 check_table (xmldb_table $xmldb_table, array $metacolumns)
 display_results (array $problems_found)

Protected Attributes

 $introstr = ''

Detailed Description

Definition at line 33 of file XMLDBCheckAction.class.php.


Member Function Documentation

check_table ( xmldb_table xmldb_table,
array metacolumns 
) [abstract, protected]

Do the checks necessary on one particular table.

Parameters:
xmldb_table$xmldb_tablethe table definition from the install.xml file.
array$metacolumnsthe column information read from the database.
Returns:
array an array with two elements: First, some additional progress output, for example a list (
of the things check each with an one work ok/not ok summary. Second, an array giving the details of any problems found. These arrays for all tables will be aggregated, and then passed to

Reimplemented in check_bigints, check_foreign_keys, check_indexes, check_oracle_semantics, and check_defaults.

Here is the caller graph for this function:

display_results ( array problems_found) [abstract, protected]

Display a list of the problems found.

Parameters:
array$problems_foundan aggregation of all the problems found by all the check_table calls.
Returns:
string a display of all the problems found as HTML.

Reimplemented in check_foreign_keys, check_indexes, check_bigints, check_defaults, and check_oracle_semantics.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:


Field Documentation

$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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations