|
ILIAS
Release_5_0_x_branch Revision 61816
|
Class arConnectorDB. More...
Inheritance diagram for arConnectorDB:
Collaboration diagram for arConnectorDB:Public Member Functions | |
| checkConnection (ActiveRecord $ar) | |
| nextID (ActiveRecord $ar) | |
| installDatabase (ActiveRecord $ar, $fields) | |
| updateIndices (ActiveRecord $ar) | |
| updateDatabase (ActiveRecord $ar) | |
| resetDatabase (ActiveRecord $ar) | |
| truncateDatabase (ActiveRecord $ar) | |
| checkTableExists (ActiveRecord $ar) | |
| checkFieldExists (ActiveRecord $ar, $field_name) | |
| removeField (ActiveRecord $ar, $field_name) | |
| renameField (ActiveRecord $ar, $old_name, $new_name) | |
| create (ActiveRecord $ar) | |
| read (ActiveRecord $ar) | |
| update (ActiveRecord $ar) | |
| delete (ActiveRecord $ar) | |
| readSet (ActiveRecordList $arl) | |
| affectedRows (ActiveRecordList $arl) | |
| quote ($value, $type) | |
Protected Member Functions | |
| returnDB () | |
| buildQuery (ActiveRecordList $arl) | |
| arConnectorDB::affectedRows | ( | ActiveRecordList | $arl | ) |
| ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 286 of file class.arConnectorDB.php.
References $ilDB, buildQuery(), and returnDB().
Here is the call graph for this function:
|
protected |
| ActiveRecordList | $arl |
Definition at line 301 of file class.arConnectorDB.php.
References $tpl, ActiveRecordList\getArConcatCollection(), ActiveRecordList\getArJoinCollection(), ActiveRecordList\getArLimitCollection(), ActiveRecordList\getArOrderCollection(), ActiveRecordList\getArSelectCollection(), ActiveRecordList\getArWhereCollection(), ActiveRecordList\getDebug(), ilUtil\sendInfo(), and ActiveRecordList\setLastQuery().
Referenced by affectedRows().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::checkConnection | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 29 of file class.arConnectorDB.php.
References returnDB().
Here is the call graph for this function:| arConnectorDB::checkFieldExists | ( | ActiveRecord | $ar, |
| $field_name | |||
| ) |
| ActiveRecord | $ar | |
| $field_name |
Reimplemented from arConnector.
Definition at line 156 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::checkTableExists | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
: This is the proper ILIAS approach on how to do this BUT: This is exteremely slow (listTables is used)! However, this is not the place to fix this issue. Report.
Reimplemented from arConnector.
Definition at line 139 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::create | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 209 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::delete | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 254 of file class.arConnectorDB.php.
References $ilDB, arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), and returnDB().
Here is the call graph for this function:| arConnectorDB::installDatabase | ( | ActiveRecord | $ar, |
| $fields | |||
| ) |
| ActiveRecord | $ar | |
| $fields |
Reimplemented from arConnector.
Definition at line 50 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Here is the call graph for this function:| arConnectorDB::nextID | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 39 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::quote | ( | $value, | |
| $type | |||
| ) |
| $value | |
| $type |
Reimplemented from arConnector.
Definition at line 337 of file class.arConnectorDB.php.
References $ilDB, and returnDB().
Here is the call graph for this function:| arConnectorDB::read | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 220 of file class.arConnectorDB.php.
References $ilDB, $query, $records, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Here is the call graph for this function:| arConnectorDB::readSet | ( | ActiveRecordList | $arl | ) |
| ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 269 of file class.arConnectorDB.php.
References $ilDB, $records, and returnDB().
Here is the call graph for this function:| arConnectorDB::removeField | ( | ActiveRecord | $ar, |
| $field_name | |||
| ) |
| ActiveRecord | $ar | |
| $field_name |
| arException |
Reimplemented from arConnector.
Definition at line 170 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::renameField | ( | ActiveRecord | $ar, |
| $old_name, | |||
| $new_name | |||
| ) |
| ActiveRecord | $ar | |
| $old_name | ||
| $new_name |
| arException |
Reimplemented from arConnector.
Definition at line 191 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::resetDatabase | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 109 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
Here is the call graph for this function:
|
protected |
Reimplemented in arConnectorPdoDB.
Definition at line 17 of file class.arConnectorDB.php.
References $ilDB.
Referenced by affectedRows(), checkConnection(), checkFieldExists(), checkTableExists(), create(), delete(), installDatabase(), nextID(), quote(), read(), readSet(), removeField(), renameField(), resetDatabase(), truncateDatabase(), update(), updateDatabase(), and updateIndices().
Here is the caller graph for this function:| arConnectorDB::truncateDatabase | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 123 of file class.arConnectorDB.php.
References $ilDB, $query, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::update | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 239 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Here is the call graph for this function:| arConnectorDB::updateDatabase | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 92 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::updateIndices | ( | ActiveRecord | $ar | ) |
| ActiveRecord | $ar |
Reimplemented from arConnector.
Reimplemented in arConnectorPdoDB.
Definition at line 69 of file class.arConnectorDB.php.
References $ilDB, $res, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by installDatabase().
Here is the call graph for this function:
Here is the caller graph for this function: