ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class arConnectorDB. More...
Protected Member Functions | |
returnDB () | |
arConnectorDB::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 305 of file class.arConnectorDB.php.
References $DIC, $ilDB, $tpl, ActiveRecordList\getArConcatCollection(), ActiveRecordList\getArSelectCollection(), returnDB(), ilUtil\sendInfo(), and ilDBConstants\TYPE_ORACLE.
arConnectorDB::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 32 of file class.arConnectorDB.php.
References returnDB().
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().
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().
arConnectorDB::create | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 223 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::delete | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
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 |
Definition at line 55 of file class.arConnectorDB.php.
References $ilDB, array, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
arConnectorDB::nextID | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 43 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Definition at line 370 of file class.arConnectorDB.php.
References $ilDB, $type, arConnector\fixDate(), returnDB(), and ilDBConstants\TYPE_ORACLE.
arConnectorDB::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 235 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 287 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 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 |
Definition at line 204 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
arConnectorDB::resetDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 117 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
|
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().
arConnectorDB::update | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 255 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 98 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
arConnectorDB::updateIndices | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 75 of file class.arConnectorDB.php.
References $i, $ilDB, array, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by installDatabase(), and updateDatabase().