|
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...
Collaboration diagram for ActiveRecordList:Public Member Functions | |
| __construct (ActiveRecord $activeRecord) | |
| PhpFieldAssignmentTypeMismatchInspection More... | |
| additionalParams (array $additional_params) | |
| where ($where, $operator=null) | |
| orderBy (string $order_by, string $order_direction='ASC') | |
| limit (int $start, int $end) | |
| innerjoinAR (ActiveRecord $activeRecord, $on_this, $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | |
| leftjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | |
| innerjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | |
| concat (array $fields, string $as) | |
| getArWhereCollection () | |
| getArJoinCollection () | |
| getArOrderCollection () | |
| getArLimitCollection () | |
| getArConcatCollection () | |
| getArSelectCollection () | |
| getArHavingCollection () | |
| setArHavingCollection (\arHavingCollection $arHavingCollection) | |
| dateFormat (string $date_format='d.m.Y - H:i:s') | |
| debug () | |
| connector (arConnector $arConnector) | |
| raw (bool $set_raw=true) | |
| hasSets () | |
| affectedRows () | |
| count () | |
| getCollection () | |
| setClass (string $class) | |
| getClass () | |
| get () | |
| getFirstFromLastQuery () | |
| first () | |
| last () | |
| getArray (string $key=null, string|array $values=null) | |
| setAR (\ActiveRecord $activeRecord) | |
| getAR () | |
| getDebug () | |
| setDateFormat (string $date_format) | |
| getDateFormat () | |
| setAddidtionalParameters (array $addidtional_parameters) | |
| getAddidtionalParameters () | |
| setRaw (bool $raw) | |
| getRaw () | |
Static Public Member Functions | |
| static | setLastQuery (string $last_query) |
| static | getLastQuery () |
Protected Member Functions | |
| getArConnector () | |
| join (string $type, string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | |
| buildArray (?string $key, $values) | |
| buildRow (?array $row, $values) | |
| loadLastQuery () | |
Protected Attributes | |
| arWhereCollection | $arWhereCollection |
| arJoinCollection | $arJoinCollection |
| arOrderCollection | $arOrderCollection |
| arLimitCollection | $arLimitCollection |
| arConcatCollection | $arConcatCollection |
| arSelectCollection | $arSelectCollection |
| arHavingCollection | $arHavingCollection |
| bool | $loaded = false |
| string | $class = '' |
| array | $result = [] |
| array | $result_array = [] |
| bool | $debug = false |
| string | $date_format = null |
| array | $addidtional_parameters = [] |
| arConnector | $connector = null |
| ActiveRecord | $ar = null |
| bool | $raw = false |
Static Protected Attributes | |
| static string | $last_query = 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@noinspection NullPointerExceptionInspection NullPointerExceptionInspection NullPointerExceptionInspection NullPointerExceptionInspection Class ActiveRecordList
Definition at line 29 of file class.ActiveRecordList.php.
| ActiveRecordList::__construct | ( | ActiveRecord | $activeRecord | ) |
PhpFieldAssignmentTypeMismatchInspection
Definition at line 56 of file class.ActiveRecordList.php.
References getAR(), getArSelectCollection(), ActiveRecord\getConnectorContainerName(), and setAR().
Here is the call graph for this function:| ActiveRecordList::additionalParams | ( | array | $additional_params | ) |
Definition at line 79 of file class.ActiveRecordList.php.
References setAddidtionalParameters().
Here is the call graph for this function:| ActiveRecordList::affectedRows | ( | ) |
Definition at line 349 of file class.ActiveRecordList.php.
References getArConnector().
Referenced by count(), and hasSets().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| int | string | array | null | $values |
| Exception |
Definition at line 431 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key, $result_array, and buildRow().
Referenced by getArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | array | null | $values |
Definition at line 455 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key, getAddidtionalParameters(), getAR(), getArConnector(), getDateFormat(), and getRaw().
Referenced by buildArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ActiveRecordList::concat | ( | array | $fields, |
| string | $as | ||
| ) |
| $as |
Definition at line 264 of file class.ActiveRecordList.php.
References getArConcatCollection().
Here is the call graph for this function:| ActiveRecordList::connector | ( | arConnector | $arConnector | ) |
Definition at line 330 of file class.ActiveRecordList.php.
| ActiveRecordList::count | ( | ) |
Definition at line 354 of file class.ActiveRecordList.php.
References affectedRows().
Here is the call graph for this function:| ActiveRecordList::dateFormat | ( | string | $date_format = 'd.m.Y - H:i:s' | ) |
Definition at line 314 of file class.ActiveRecordList.php.
References setDateFormat().
Here is the call graph for this function:| ActiveRecordList::debug | ( | ) |
Definition at line 322 of file class.ActiveRecordList.php.
| ActiveRecordList::first | ( | ) |
Definition at line 396 of file class.ActiveRecordList.php.
| ActiveRecordList::get | ( | ) |
| ActiveRecordList::getAddidtionalParameters | ( | ) |
Definition at line 568 of file class.ActiveRecordList.php.
References $addidtional_parameters.
Referenced by buildRow().
Here is the caller graph for this function:| ActiveRecordList::getAR | ( | ) |
Definition at line 527 of file class.ActiveRecordList.php.
References $ar.
Referenced by __construct(), arConnectorDB\buildQuery(), buildRow(), getArConnector(), join(), and arConnectorSession\readSet().
Here is the caller graph for this function:| ActiveRecordList::getArConcatCollection | ( | ) |
Definition at line 294 of file class.ActiveRecordList.php.
References $arConcatCollection.
Referenced by arConnectorDB\buildQuery(), and concat().
Here is the caller graph for this function:
|
protected |
Definition at line 74 of file class.ActiveRecordList.php.
References arConnectorMap\get(), and getAR().
Referenced by affectedRows(), and buildRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ActiveRecordList::getArHavingCollection | ( | ) |
Definition at line 304 of file class.ActiveRecordList.php.
References $arHavingCollection.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArJoinCollection | ( | ) |
Definition at line 279 of file class.ActiveRecordList.php.
References $arJoinCollection.
Referenced by arConnectorDB\buildQuery(), and join().
Here is the caller graph for this function:| ActiveRecordList::getArLimitCollection | ( | ) |
Definition at line 289 of file class.ActiveRecordList.php.
References $arLimitCollection.
Referenced by arConnectorDB\buildQuery(), and limit().
Here is the caller graph for this function:| ActiveRecordList::getArOrderCollection | ( | ) |
Definition at line 284 of file class.ActiveRecordList.php.
References $arOrderCollection.
Referenced by arConnectorDB\buildQuery(), and orderBy().
Here is the caller graph for this function:| ActiveRecordList::getArray | ( | string | $key = null, |
| string|array | $values = null |
||
| ) |
| string | null | $key | shall a specific value be used as a key? if null then the 1. array key is just increasing from 0. |
| string | array | $values | which values should be taken? if null all are given. If only a string is given then the result is an 1D array! |
Definition at line 419 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key, and buildArray().
Here is the call graph for this function:| ActiveRecordList::getArSelectCollection | ( | ) |
Definition at line 299 of file class.ActiveRecordList.php.
References $arSelectCollection.
Referenced by __construct(), arConnectorDB\buildQuery(), and join().
Here is the caller graph for this function:| ActiveRecordList::getArWhereCollection | ( | ) |
Definition at line 274 of file class.ActiveRecordList.php.
References $arWhereCollection.
Referenced by arConnectorDB\buildQuery(), arConnectorSession\readSet(), and where().
Here is the caller graph for this function:| ActiveRecordList::getClass | ( | ) |
| ActiveRecordList::getCollection | ( | ) |
Definition at line 359 of file class.ActiveRecordList.php.
| ActiveRecordList::getDateFormat | ( | ) |
Definition at line 542 of file class.ActiveRecordList.php.
Referenced by buildRow().
Here is the caller graph for this function:| ActiveRecordList::getDebug | ( | ) |
| ActiveRecordList::getFirstFromLastQuery | ( | ) |
Definition at line 387 of file class.ActiveRecordList.php.
References loadLastQuery().
Here is the call graph for this function:
|
static |
Definition at line 552 of file class.ActiveRecordList.php.
| ActiveRecordList::getRaw | ( | ) |
Definition at line 578 of file class.ActiveRecordList.php.
References $raw.
Referenced by buildRow().
Here is the caller graph for this function:| ActiveRecordList::hasSets | ( | ) |
Definition at line 344 of file class.ActiveRecordList.php.
References affectedRows().
Here is the call graph for this function:| ActiveRecordList::innerjoin | ( | string | $tablename, |
| $on_this, | |||
| string | $on_external, | ||
| array | $fields = ['*'], |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $tablename | |
| $on_this | |
| $on_external |
Definition at line 250 of file class.ActiveRecordList.php.
References join(), and arJoin\TYPE_INNER.
Referenced by innerjoinAR().
Here is the call graph for this function:
Here is the caller graph for this function:| ActiveRecordList::innerjoinAR | ( | ActiveRecord | $activeRecord, |
| $on_this, | |||
| $on_external, | |||
| array | $fields = ['*'], |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $on_this | |
| $on_external |
Definition at line 163 of file class.ActiveRecordList.php.
References ActiveRecord\getConnectorContainerName(), and innerjoin().
Here is the call graph for this function:
|
protected |
| $tablename | |
| $on_this | |
| $on_external |
| arException |
Definition at line 187 of file class.ActiveRecordList.php.
References getAR(), getArJoinCollection(), getArSelectCollection(), and arException\LIST_JOIN_ON_WRONG_FIELD.
Referenced by innerjoin(), and leftjoin().
Here is the call graph for this function:
Here is the caller graph for this function:| ActiveRecordList::last | ( | ) |
Definition at line 405 of file class.ActiveRecordList.php.
| ActiveRecordList::leftjoin | ( | string | $tablename, |
| $on_this, | |||
| string | $on_external, | ||
| array | $fields = ['*'], |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $tablename | |
| $on_this | |
| $on_external |
Definition at line 234 of file class.ActiveRecordList.php.
References join(), and arJoin\TYPE_LEFT.
Here is the call graph for this function:| ActiveRecordList::limit | ( | int | $start, |
| int | $end | ||
| ) |
| $start | |
| $end |
| arException |
Definition at line 148 of file class.ActiveRecordList.php.
References getArLimitCollection().
Here is the call graph for this function:
|
protected |
Definition at line 517 of file class.ActiveRecordList.php.
Referenced by getFirstFromLastQuery().
Here is the caller graph for this function:| ActiveRecordList::orderBy | ( | string | $order_by, |
| string | $order_direction = 'ASC' |
||
| ) |
| $order_by |
| arException |
Definition at line 133 of file class.ActiveRecordList.php.
References getArOrderCollection().
Here is the call graph for this function:| ActiveRecordList::raw | ( | bool | $set_raw = true | ) |
Definition at line 337 of file class.ActiveRecordList.php.
References setRaw().
Referenced by setRaw().
Here is the call graph for this function:
Here is the caller graph for this function:| ActiveRecordList::setAddidtionalParameters | ( | array | $addidtional_parameters | ) |
| mixed[] | $addidtional_parameters |
Definition at line 560 of file class.ActiveRecordList.php.
References $addidtional_parameters.
Referenced by additionalParams().
Here is the caller graph for this function:| ActiveRecordList::setAR | ( | \ActiveRecord | $activeRecord | ) |
Definition at line 522 of file class.ActiveRecordList.php.
Referenced by __construct().
Here is the caller graph for this function:| ActiveRecordList::setArHavingCollection | ( | \arHavingCollection | $arHavingCollection | ) |
Definition at line 309 of file class.ActiveRecordList.php.
References $arHavingCollection.
| ActiveRecordList::setClass | ( | string | $class | ) |
Definition at line 364 of file class.ActiveRecordList.php.
| ActiveRecordList::setDateFormat | ( | string | $date_format | ) |
Definition at line 537 of file class.ActiveRecordList.php.
References $date_format.
Referenced by dateFormat().
Here is the caller graph for this function:
|
static |
Definition at line 547 of file class.ActiveRecordList.php.
References $last_query.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::setRaw | ( | bool | $raw | ) |
Definition at line 573 of file class.ActiveRecordList.php.
Referenced by raw().
Here is the call graph for this function:
Here is the caller graph for this function:| ActiveRecordList::where | ( | $where, | |
$operator = null |
|||
| ) |
| $where | ||
| null | $operator |
| Exception |
Definition at line 96 of file class.ActiveRecordList.php.
References getArWhereCollection(), and arWhere\TYPE_STRING.
Here is the call graph for this function:
|
protected |
Definition at line 47 of file class.ActiveRecordList.php.
Referenced by getAddidtionalParameters(), and setAddidtionalParameters().
|
protected |
Definition at line 50 of file class.ActiveRecordList.php.
Referenced by getAR().
|
protected |
Definition at line 35 of file class.ActiveRecordList.php.
Referenced by getArConcatCollection().
|
protected |
Definition at line 37 of file class.ActiveRecordList.php.
Referenced by getArHavingCollection(), and setArHavingCollection().
|
protected |
Definition at line 32 of file class.ActiveRecordList.php.
Referenced by getArJoinCollection().
|
protected |
Definition at line 34 of file class.ActiveRecordList.php.
Referenced by getArLimitCollection().
|
protected |
Definition at line 33 of file class.ActiveRecordList.php.
Referenced by getArOrderCollection().
|
protected |
Definition at line 36 of file class.ActiveRecordList.php.
Referenced by getArSelectCollection().
|
protected |
Definition at line 31 of file class.ActiveRecordList.php.
Referenced by getArWhereCollection().
|
protected |
Definition at line 39 of file class.ActiveRecordList.php.
Referenced by getClass().
|
protected |
Definition at line 49 of file class.ActiveRecordList.php.
|
protected |
Definition at line 46 of file class.ActiveRecordList.php.
Referenced by setDateFormat().
|
protected |
Definition at line 45 of file class.ActiveRecordList.php.
Referenced by getDebug().
|
staticprotected |
Definition at line 48 of file class.ActiveRecordList.php.
Referenced by setLastQuery().
|
protected |
Definition at line 38 of file class.ActiveRecordList.php.
|
protected |
Definition at line 51 of file class.ActiveRecordList.php.
|
protected |
Definition at line 43 of file class.ActiveRecordList.php.
Referenced by get().
|
protected |
Definition at line 44 of file class.ActiveRecordList.php.
Referenced by buildArray().