|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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:Public Member Functions | |
| __construct (?ilDBInterface $ilDB=null) | |
| checkConnection (ActiveRecord $activeRecord) | |
| nextID (ActiveRecord $activeRecord) | |
| installDatabase (ActiveRecord $activeRecord, array $fields) | |
| updateIndices (ActiveRecord $activeRecord) | |
| updateDatabase (ActiveRecord $activeRecord) | |
| resetDatabase (ActiveRecord $activeRecord) | |
| truncateDatabase (ActiveRecord $activeRecord) | |
| checkTableExists (ActiveRecord $activeRecord) | |
| checkFieldExists (ActiveRecord $activeRecord, string $field_name) | |
| removeField (ActiveRecord $activeRecord, string $field_name) | |
| renameField (ActiveRecord $activeRecord, string $old_name, string $new_name) | |
| create (ActiveRecord $activeRecord) | |
| read (ActiveRecord $activeRecord) | |
| update (ActiveRecord $activeRecord) | |
| delete (ActiveRecord $activeRecord) | |
| readSet (ActiveRecordList $activeRecordList) | |
| affectedRows (ActiveRecordList $activeRecordList) | |
| quote ($value, string $type) | |
Public Member Functions inherited from arConnector | |
| nextID (ActiveRecord $activeRecord) | |
| checkConnection (ActiveRecord $activeRecord) | |
| installDatabase (ActiveRecord $activeRecord, array $fields) | |
| updateDatabase (ActiveRecord $activeRecord) | |
| resetDatabase (ActiveRecord $activeRecord) | |
| truncateDatabase (ActiveRecord $activeRecord) | |
| checkTableExists (ActiveRecord $activeRecord) | |
| checkFieldExists (ActiveRecord $activeRecord, string $field_name) | |
| removeField (ActiveRecord $activeRecord, string $field_name) | |
| renameField (ActiveRecord $activeRecord, string $old_name, string $new_name) | |
| create (ActiveRecord $activeRecord) | |
| read (ActiveRecord $activeRecord) | |
| update (ActiveRecord $activeRecord) | |
| delete (ActiveRecord $activeRecord) | |
| readSet (ActiveRecordList $activeRecordList) | |
| affectedRows (ActiveRecordList $activeRecordList) | |
| quote (mixed $value, string $type) | |
| updateIndices (ActiveRecord $activeRecord) | |
| fixDate (string $value) | |
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 | ) |
| arConnectorDB::affectedRows | ( | ActiveRecordList | $activeRecordList | ) |
PhpParamsInspection
Definition at line 255 of file class.arConnectorDB.php.
References $ilDB, $q, buildQuery(), and returnDB().
Here is the call graph for this function:
|
protected |
Definition at line 269 of file class.arConnectorDB.php.
References $q, 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 | ) |
Definition at line 48 of file class.arConnectorDB.php.
References returnDB().
Here is the call graph for this function:| arConnectorDB::checkFieldExists | ( | ActiveRecord | $activeRecord, |
| string | $field_name | ||
| ) |
Definition at line 153 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::checkTableExists | ( | ActiveRecord | $activeRecord | ) |
: 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 142 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::create | ( | ActiveRecord | $activeRecord | ) |
Definition at line 185 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::delete | ( | ActiveRecord | $activeRecord | ) |
Definition at line 227 of file class.arConnectorDB.php.
References $ilDB, arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), and returnDB().
Here is the call graph for this function:| arConnectorDB::installDatabase | ( | ActiveRecord | $activeRecord, |
| array | $fields | ||
| ) |
Definition at line 61 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Here is the call graph for this function:| arConnectorDB::nextID | ( | ActiveRecord | $activeRecord | ) |
Definition at line 56 of file class.arConnectorDB.php.
References ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::quote | ( | $value, | |
| string | $type | ||
| ) |
| $value |
Definition at line 295 of file class.arConnectorDB.php.
References $ilDB, and returnDB().
Here is the call graph for this function:| arConnectorDB::read | ( | ActiveRecord | $activeRecord | ) |
Definition at line 194 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Here is the call graph for this function:| arConnectorDB::readSet | ( | ActiveRecordList | $activeRecordList | ) |
Definition at line 243 of file class.arConnectorDB.php.
References $ilDB, buildQuery(), and returnDB().
Here is the call graph for this function:| arConnectorDB::removeField | ( | ActiveRecord | $activeRecord, |
| string | $field_name | ||
| ) |
Definition at line 160 of file class.arConnectorDB.php.
References $ilDB, arException\COLUMN_DOES_NOT_EXIST, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::renameField | ( | ActiveRecord | $activeRecord, |
| string | $old_name, | ||
| string | $new_name | ||
| ) |
Definition at line 170 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::resetDatabase | ( | ActiveRecord | $activeRecord | ) |
Definition at line 118 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), ActiveRecord\installDB(), and returnDB().
Here is the call 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 | ) |
Definition at line 129 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getConnectorContainerName(), and returnDB().
Here is the call graph for this function:| arConnectorDB::update | ( | ActiveRecord | $activeRecord | ) |
Definition at line 211 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArrayForConnector(), ActiveRecord\getConnectorContainerName(), arFieldCache\getPrimaryFieldName(), arFieldCache\getPrimaryFieldType(), ActiveRecord\getPrimaryFieldValue(), and returnDB().
Here is the call graph for this function:| arConnectorDB::updateDatabase | ( | ActiveRecord | $activeRecord | ) |
Definition at line 101 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), returnDB(), and updateIndices().
Here is the call graph for this function:| arConnectorDB::updateIndices | ( | ActiveRecord | $activeRecord | ) |
Definition at line 81 of file class.arConnectorDB.php.
References $ilDB, ActiveRecord\getArFieldList(), ActiveRecord\getConnectorContainerName(), and returnDB().
Referenced by installDatabase(), and updateDatabase().
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().