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

Public Member Functions

 init ()

Protected Member Functions

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

Detailed Description

Definition at line 34 of file check_indexes.class.php.


Member Function Documentation

check_table ( xmldb_table xmldb_table,
array metacolumns 
) [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 from XMLDBCheckAction.

Definition at line 58 of file check_indexes.class.php.

Here is the call graph for this function:

display_results ( array problems_found) [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 from XMLDBCheckAction.

Definition at line 130 of file check_indexes.class.php.

init ( )

Init method, every subclass will have its own

Reimplemented from XMLDBCheckAction.

Definition at line 39 of file check_indexes.class.php.

Here is the call graph for this function:


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