ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class arConnectorDB. More...
Protected Member Functions | |
returnDB () | |
arConnectorDB::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 286 of file class.arConnectorDB.php.
References $ilDB, $tpl, ActiveRecordList\getArConcatCollection(), ActiveRecordList\getArSelectCollection(), returnDB(), ilUtil\sendInfo(), and ilDBConstants\TYPE_ORACLE.
arConnectorDB::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 29 of file class.arConnectorDB.php.
References returnDB().
arConnectorDB::checkFieldExists | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
Definition at line 156 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
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 139 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::create | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 209 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::delete | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 254 of file class.arConnectorDB.php.
References $ilDB, arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), and returnDB().
arConnectorDB::installDatabase | ( | ActiveRecord | $ar, |
$fields | |||
) |
ActiveRecord | $ar | |
$fields |
Definition at line 50 of file class.arConnectorDB.php.
References $ilDB, array, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
arConnectorDB::nextID | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 39 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Definition at line 348 of file class.arConnectorDB.php.
References $ilDB, arConnector\fixDate(), returnDB(), and ilDBConstants\TYPE_ORACLE.
arConnectorDB::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 220 of file class.arConnectorDB.php.
References $ilDB, $query, $records, array, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
arConnectorDB::readSet | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 269 of file class.arConnectorDB.php.
References $ilDB, $records, array, and returnDB().
arConnectorDB::removeField | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
arException |
Definition at line 170 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 |
Definition at line 191 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::resetDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 109 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
|
protected |
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().
arConnectorDB::truncateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 123 of file class.arConnectorDB.php.
References $ilDB, $query, ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::update | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 239 of file class.arConnectorDB.php.
References $ilDB, array, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
arConnectorDB::updateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 91 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
arConnectorDB::updateIndices | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 69 of file class.arConnectorDB.php.
References $ilDB, array, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by installDatabase(), and updateDatabase().