ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class arConnectorDB. More...
Protected Member Functions | |
returnDB () | |
arConnectorDB::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 305 of file class.arConnectorDB.php.
References $ilDB, and returnDB().
arConnectorDB::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 32 of file class.arConnectorDB.php.
References returnDB().
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().
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().
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().
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().
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().
arConnectorDB::nextID | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 43 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Reimplemented from arConnector.
Definition at line 370 of file class.arConnectorDB.php.
arConnectorDB::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 235 of file class.arConnectorDB.php.
References $ilDB, $query, $records, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
arConnectorDB::readSet | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 287 of file class.arConnectorDB.php.
References $ilDB, $records, and returnDB().
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().
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().
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().
|
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().
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().
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().
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(), and updateDatabase().