|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for arConnectorDB:
Collaboration diagram for arConnectorDB:Protected Member Functions | |
| returnDB () | |
| buildQuery (ActiveRecordList $activeRecordList) | |
Private Attributes | |
| ilDBInterface | $db = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class arConnectorDB
Definition at line 25 of file class.arConnectorDB.php.
| arConnectorDB::__construct | ( | ?ilDBInterface | $ilDB = null | ) |
Definition at line 29 of file class.arConnectorDB.php.
| arConnectorDB::affectedRows | ( | ActiveRecordList | $activeRecordList | ) |
@noinspection PhpParamsInspection
Reimplemented from arConnector.
Definition at line 255 of file class.arConnectorDB.php.
References $ilDB, buildQuery(), and returnDB().
Referenced by arConnectorCache\affectedRows().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 269 of file class.arConnectorDB.php.
References ActiveRecordList\getAR(), ActiveRecordList\getArConcatCollection(), ActiveRecordList\getArHavingCollection(), ActiveRecordList\getArJoinCollection(), ActiveRecordList\getArLimitCollection(), ActiveRecordList\getArOrderCollection(), ActiveRecordList\getArSelectCollection(), ActiveRecordList\getArWhereCollection(), and ActiveRecordList\setLastQuery().
Referenced by affectedRows(), and readSet().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::checkConnection | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 48 of file class.arConnectorDB.php.
References returnDB().
Referenced by arConnectorCache\checkConnection().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::checkFieldExists | ( | ActiveRecord | $activeRecord, |
| string | $field_name | ||
| ) |
Reimplemented from arConnector.
Definition at line 153 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\checkFieldExists().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::checkTableExists | ( | ActiveRecord | $activeRecord | ) |
@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 142 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\checkTableExists().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::create | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 185 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\create().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::delete | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 227 of file class.arConnectorDB.php.
References $ilDB, arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), and returnDB().
Referenced by arConnectorCache\delete().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::installDatabase | ( | ActiveRecord | $activeRecord, |
| array | $fields | ||
| ) |
Reimplemented from arConnector.
Definition at line 61 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Referenced by arConnectorCache\installDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::nextID | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 56 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\nextID().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::quote | ( | $value, | |
| string | $type | ||
| ) |
| $value |
Reimplemented from arConnector.
Definition at line 295 of file class.arConnectorDB.php.
References $ilDB, $type, and returnDB().
Referenced by arConnectorCache\quote().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::read | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 194 of file class.arConnectorDB.php.
References $ilDB, $query, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Referenced by arConnectorCache\read().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::readSet | ( | ActiveRecordList | $activeRecordList | ) |
Reimplemented from arConnector.
Definition at line 243 of file class.arConnectorDB.php.
References $ilDB, buildQuery(), and returnDB().
Referenced by arConnectorCache\readSet().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::removeField | ( | ActiveRecord | $activeRecord, |
| string | $field_name | ||
| ) |
Reimplemented from arConnector.
Definition at line 160 of file class.arConnectorDB.php.
References $ilDB, arException\COLUMN_DOES_NOT_EXIST, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\removeField().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::renameField | ( | ActiveRecord | $activeRecord, |
| string | $old_name, | ||
| string | $new_name | ||
| ) |
Reimplemented from arConnector.
Definition at line 170 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\renameField().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::resetDatabase | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 118 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
Referenced by arConnectorCache\resetDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 40 of file class.arConnectorDB.php.
References $db.
Referenced by affectedRows(), checkConnection(), checkFieldExists(), checkTableExists(), create(), delete(), installDatabase(), nextID(), quote(), read(), readSet(), removeField(), renameField(), resetDatabase(), truncateDatabase(), update(), updateDatabase(), and updateIndices().
Here is the caller graph for this function:| arConnectorDB::truncateDatabase | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 129 of file class.arConnectorDB.php.
References $ilDB, $query, ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by arConnectorCache\truncateDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::update | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 211 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Referenced by arConnectorCache\update().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::updateDatabase | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 101 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Referenced by arConnectorCache\updateDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:| arConnectorDB::updateIndices | ( | ActiveRecord | $activeRecord | ) |
Reimplemented from arConnector.
Definition at line 81 of file class.arConnectorDB.php.
References $i, $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by installDatabase(), updateDatabase(), and arConnectorCache\updateIndices().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 27 of file class.arConnectorDB.php.
Referenced by returnDB().