| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This class gives all kind of DB information using the database manager and reverse module. More...
 Collaboration diagram for ilDBAnalyzer:Public Member Functions | |
| __construct (ilDBInterface $ilDBInterface=null) | |
| ilDBAnalyzer constructor.  More... | |
| getFieldInformation (string $a_table, bool $a_remove_not_allowed_attributes=false) | |
| Get field information of a table.  More... | |
| getBestDefinitionAlternative (array $a_def) | |
| getAutoIncrementField (string $a_table) | |
| Gets the auto increment field of a table.  More... | |
| getPrimaryKeyInformation (string $a_table) | |
| Get primary key of a table.  More... | |
| getIndicesInformation (string $a_table, bool $a_abstract_table=false) | |
| Get information on indices of a table.  More... | |
| getConstraintsInformation (string $a_table, bool $a_abstract_table=false) | |
| Get information on constraints of a table.  More... | |
| hasSequence (string $a_table) | |
| Check whether sequence is defined for current table (only works on "abstraced" tables)  More... | |
Protected Attributes | |
| ilDBManager | $manager | 
| ilDBReverse | $reverse | 
| ilDBInterface | $il_db | 
| array | $allowed_attributes | 
This class gives all kind of DB information using the database manager and reverse module.
Definition at line 32 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::__construct | ( | ilDBInterface | $ilDBInterface = null | ) | 
ilDBAnalyzer constructor.
Definition at line 49 of file class.ilDBAnalyzer.php.
References $DIC, $ilDB, ilDBConstants\MODULE_MANAGER, and ilDBConstants\MODULE_REVERSE.
| ilDBAnalyzer::getAutoIncrementField | ( | string | $a_table | ) | 
Gets the auto increment field of a table.
This should be used on ILIAS 3.10.x "MySQL" tables only.
Definition at line 154 of file class.ilDBAnalyzer.php.
| ilDBAnalyzer::getBestDefinitionAlternative | ( | array | $a_def | ) | 
Definition at line 119 of file class.ilDBAnalyzer.php.
Referenced by getFieldInformation().
 Here is the caller graph for this function:| ilDBAnalyzer::getConstraintsInformation | ( | string | $a_table, | 
| bool | $a_abstract_table = false  | 
        ||
| ) | 
Get information on constraints of a table.
Primary key is NOT included! Fulltext indices are included and marked.
Definition at line 259 of file class.ilDBAnalyzer.php.
References Vendor\Package\$c, and Vendor\Package\$f.
| ilDBAnalyzer::getFieldInformation | ( | string | $a_table, | 
| bool | $a_remove_not_allowed_attributes = false  | 
        ||
| ) | 
Get field information of a table.
Definition at line 69 of file class.ilDBAnalyzer.php.
References getBestDefinitionAlternative().
 Here is the call graph for this function:| ilDBAnalyzer::getIndicesInformation | ( | string | $a_table, | 
| bool | $a_abstract_table = false  | 
        ||
| ) | 
Get information on indices of a table.
Primary key is NOT included! Fulltext indices are included and marked.
Definition at line 204 of file class.ilDBAnalyzer.php.
References Vendor\Package\$c, and Vendor\Package\$f.
| ilDBAnalyzer::getPrimaryKeyInformation | ( | string | $a_table | ) | 
Get primary key of a table.
Definition at line 174 of file class.ilDBAnalyzer.php.
References Vendor\Package\$c, and Vendor\Package\$f.
Referenced by hasSequence().
 Here is the caller graph for this function:| ilDBAnalyzer::hasSequence | ( | string | $a_table | ) | 
Check whether sequence is defined for current table (only works on "abstraced" tables)
Definition at line 292 of file class.ilDBAnalyzer.php.
References getPrimaryKeyInformation().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 40 of file class.ilDBAnalyzer.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilDBAnalyzer.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilDBAnalyzer.php.
      
  | 
  protected | 
Definition at line 36 of file class.ilDBAnalyzer.php.