| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
This class gives all kind of DB information using the MDB2 manager and reverse module. More...
 Collaboration diagram for ilDBAnalyzer:
 Collaboration diagram for ilDBAnalyzer:| Public Member Functions | |
| __construct () | |
| Constructor. | |
| getFieldInformation ($a_table, $a_remove_not_allowed_attributes=false) | |
| Get field information of a table. | |
| getBestDefinitionAlternative ($a_def) | |
| getAutoIncrementField ($a_table) | |
| Gets the auto increment field of a table. | |
| getPrimaryKeyInformation ($a_table) | |
| Get primary key of a table. | |
| getIndicesInformation ($a_table, $a_abstract_table=false) | |
| Get information on indices of a table. | |
| getConstraintsInformation ($a_table, $a_abstract_table=false) | |
| Get information on constraints of a table. | |
| hasSequence ($a_table) | |
| Check whether sequence is defined for current table (only works on "abstraced" tables) | |
This class gives all kind of DB information using the MDB2 manager and reverse module.
Definition at line 13 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::__construct | ( | ) | 
Constructor.
Definition at line 19 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::getAutoIncrementField | ( | $a_table | ) | 
Gets the auto increment field of a table.
This should be used on ILIAS 3.10.x "MySQL" tables only.
| string | table name | 
Definition at line 128 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::getBestDefinitionAlternative | ( | $a_def | ) | 
Definition at line 92 of file class.ilDBAnalyzer.php.
Referenced by getFieldInformation().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDBAnalyzer::getConstraintsInformation | ( | $a_table, | |
| $a_abstract_table = false | |||
| ) | 
Get information on constraints of a table.
Primary key is NOT included! Fulltext indices are included and marked.
| string | table name | 
Definition at line 245 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::getFieldInformation | ( | $a_table, | |
| $a_remove_not_allowed_attributes = false | |||
| ) | 
Get field information of a table.
| string | table name | 
Definition at line 36 of file class.ilDBAnalyzer.php.
References getBestDefinitionAlternative().
Referenced by ilSetting\_getValueType().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDBAnalyzer::getIndicesInformation | ( | $a_table, | |
| $a_abstract_table = false | |||
| ) | 
Get information on indices of a table.
Primary key is NOT included! Fulltext indices are included and marked.
| string | table name | 
Definition at line 180 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::getPrimaryKeyInformation | ( | $a_table | ) | 
Get primary key of a table.
| string | table name | 
Definition at line 150 of file class.ilDBAnalyzer.php.
Referenced by hasSequence().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilDBAnalyzer::hasSequence | ( | $a_table | ) | 
Check whether sequence is defined for current table (only works on "abstraced" tables)
| string | table name | 
Definition at line 278 of file class.ilDBAnalyzer.php.
References getPrimaryKeyInformation().
 Here is the call graph for this function:
 Here is the call graph for this function: