ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class arConnectorDB. More...
Protected Member Functions | |
returnDB () | |
buildQuery (ActiveRecordList $arl) | |
arConnectorDB::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 305 of file class.arConnectorDB.php.
References $ilDB, buildQuery(), and returnDB().
Referenced by arConnectorCache\affectedRows().
|
protected |
ActiveRecordList | $arl |
Definition at line 321 of file class.arConnectorDB.php.
References ActiveRecordList\getArSelectCollection().
Referenced by affectedRows().
arConnectorDB::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 32 of file class.arConnectorDB.php.
References returnDB().
Referenced by arConnectorCache\checkConnection().
arConnectorDB::checkFieldExists | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
Reimplemented from arConnector.
Definition at line 167 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\checkFieldExists().
arConnectorDB::checkTableExists | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
@TODO: 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 149 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\checkTableExists().
arConnectorDB::create | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 223 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\create().
arConnectorDB::delete | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 271 of file class.arConnectorDB.php.
References $ilDB, arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), and returnDB().
Referenced by arConnectorCache\delete().
arConnectorDB::fixDate | ( | $value | ) |
$value |
Reimplemented from arConnector.
Definition at line 375 of file class.arConnectorDB.php.
arConnectorDB::installDatabase | ( | ActiveRecord | $ar, |
$fields | |||
) |
ActiveRecord | $ar | |
$fields |
Reimplemented from arConnector.
Definition at line 55 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Referenced by arConnectorCache\installDatabase().
arConnectorDB::nextID | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 43 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\nextID().
arConnectorDB::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Reimplemented from arConnector.
Definition at line 363 of file class.arConnectorDB.php.
Referenced by arConnectorCache\quote().
arConnectorDB::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 235 of file class.arConnectorDB.php.
References $ilDB, $query, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Referenced by arConnectorCache\read().
arConnectorDB::readSet | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 287 of file class.arConnectorDB.php.
References $ilDB, and returnDB().
Referenced by arConnectorCache\readSet().
arConnectorDB::removeField | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
arException |
Reimplemented from arConnector.
Definition at line 182 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\removeField().
arConnectorDB::renameField | ( | ActiveRecord | $ar, |
$old_name, | |||
$new_name | |||
) |
ActiveRecord | $ar | |
$old_name | ||
$new_name |
arException |
Reimplemented from arConnector.
Definition at line 204 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\renameField().
arConnectorDB::resetDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 117 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
Referenced by arConnectorCache\resetDatabase().
|
protected |
Reimplemented in arConnectorPdoDB.
Definition at line 18 of file class.arConnectorDB.php.
Referenced by affectedRows(), checkConnection(), checkFieldExists(), checkTableExists(), create(), delete(), installDatabase(), nextID(), read(), readSet(), removeField(), renameField(), resetDatabase(), truncateDatabase(), update(), updateDatabase(), and updateIndices().
arConnectorDB::truncateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 132 of file class.arConnectorDB.php.
References $ilDB, $query, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\truncateDatabase().
arConnectorDB::update | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 255 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Referenced by arConnectorCache\update().
arConnectorDB::updateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 98 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Referenced by arConnectorCache\updateDatabase().
arConnectorDB::updateIndices | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Reimplemented in arConnectorPdoDB.
Definition at line 75 of file class.arConnectorDB.php.
References $i, $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by installDatabase(), updateDatabase(), and arConnectorCache\updateIndices().