ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class arConnectorDB. More...
Protected Member Functions | |
returnDB () | |
buildQuery (ActiveRecordList $arl) | |
arConnectorDB::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 305 of file class.arConnectorDB.php.
References $ilDB, and returnDB().
Referenced by arConnectorCache\affectedRows().
|
protected |
ActiveRecordList | $arl |
Definition at line 321 of file class.arConnectorDB.php.
References $DIC, $tpl, ActiveRecordList\getArSelectCollection(), and ilUtil\sendInfo().
arConnectorDB::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
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 |
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 |
: 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.
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 |
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 |
Definition at line 271 of file class.arConnectorDB.php.
References $ilDB, arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), and returnDB().
Referenced by arConnectorCache\delete().
arConnectorDB::fixDate | ( | $value | ) |
arConnectorDB::installDatabase | ( | ActiveRecord | $ar, |
$fields | |||
) |
ActiveRecord | $ar | |
$fields |
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 |
Definition at line 43 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\nextID().
arConnectorDB::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Definition at line 363 of file class.arConnectorDB.php.
References $ilDB, $type, and returnDB().
Referenced by arConnectorCache\quote().
arConnectorDB::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 235 of file class.arConnectorDB.php.
References $ilDB, $query, $records, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Referenced by arConnectorCache\read().
arConnectorDB::readSet | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 287 of file class.arConnectorDB.php.
References $ilDB, $records, and returnDB().
Referenced by arConnectorCache\readSet().
arConnectorDB::removeField | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
arException |
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 |
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 |
Definition at line 117 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
Referenced by arConnectorCache\resetDatabase().
|
protected |
Definition at line 18 of file class.arConnectorDB.php.
Referenced by affectedRows(), checkConnection(), checkFieldExists(), checkTableExists(), create(), delete(), installDatabase(), nextID(), quote(), read(), readSet(), removeField(), renameField(), resetDatabase(), truncateDatabase(), update(), updateDatabase(), and updateIndices().
arConnectorDB::truncateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
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 |
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 |
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 |
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().