30         $_SESSION[self::AR_CONNECTOR_SESSION] = [];
    38         if (!$_SESSION[self::AR_CONNECTOR_SESSION]) {
    42         return $_SESSION[self::AR_CONNECTOR_SESSION];
    50         $session = self::getSession();
    51         $ar_session = $session[$activeRecord::returnDbTableName()];
    52         if (!is_array($ar_session)) {
    61         return is_array(self::getSession());
    69         return count(self::getSessionForActiveRecord($activeRecord)) + 1;
    84         $_SESSION[self::AR_CONNECTOR_SESSION][$activeRecord::returnDbTableName()] = [];
    96         return is_array(self::getSessionForActiveRecord($activeRecord));
   101         $session = self::getSessionForActiveRecord($activeRecord);
   103         return array_key_exists($field_name, $session[0]);
   124         $_SESSION[self::AR_CONNECTOR_SESSION][$activeRecord::returnDbTableName()][$activeRecord->
getPrimaryFieldValue(
   133         $session = self::getSessionForActiveRecord($activeRecord);
   140         $this->
create($activeRecord);
   146             $_SESSION[self::AR_CONNECTOR_SESSION][$activeRecord::returnDbTableName(
   147             )][$activeRecord->getPrimaryFieldValue()]
   157         $session = self::getSessionForActiveRecord($activeRecordList->
getAR());
   158         foreach ($session as $i => $s) {
   159             $session[$i] = (array) $s;
   162             $fieldname = $arWhere->getFieldname();
   163             $v = $arWhere->getValue();
   164             $operator = $arWhere->getOperator();
   166             foreach ($session as $i => $s) {
   167                 $session[$i] = (array) $s;
   168                 if ($operator !== 
'=') {
   171                 if ($s[$fieldname] === $v) {
   183         return count($this->
readSet($activeRecordList));
   189     public function quote($value, 
string $type): string
 checkFieldExists(ActiveRecord $activeRecord, string $field_name)
 
truncateDatabase(ActiveRecord $activeRecord)
 
nextID(ActiveRecord $activeRecord)
 
checkTableExists(ActiveRecord $activeRecord)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
readSet(ActiveRecordList $activeRecordList)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static getSessionForActiveRecord(ActiveRecord $activeRecord)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
resetDatabase(ActiveRecord $activeRecord)
 
read(ActiveRecord $activeRecord)
 
updateIndices(ActiveRecord $activeRecord)
 
create(ActiveRecord $activeRecord)
 
quote($value, string $type)
 
updateDatabase(ActiveRecord $activeRecord)
 
checkConnection(ActiveRecord $activeRecord)
 
renameField(ActiveRecord $activeRecord, string $old_name, string $new_name)
 
const AR_CONNECTOR_SESSION
 
update(ActiveRecord $activeRecord)
 
installDatabase(ActiveRecord $activeRecord, array $fields)
 
removeField(ActiveRecord $activeRecord, string $field_name)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
affectedRows(ActiveRecordList $activeRecordList)