|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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) | |
| @noinspection 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, string $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|null $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 @noinspection NullPointerExceptionInspection @noinspection NullPointerExceptionInspection @noinspection NullPointerExceptionInspection Class ActiveRecordList
Definition at line 30 of file class.ActiveRecordList.php.
| ActiveRecordList::__construct | ( | ActiveRecord | $activeRecord | ) |
@noinspection PhpFieldAssignmentTypeMismatchInspection
Definition at line 57 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 80 of file class.ActiveRecordList.php.
References setAddidtionalParameters().
Here is the call graph for this function:| ActiveRecordList::affectedRows | ( | ) |
Definition at line 350 of file class.ActiveRecordList.php.
|
protected |
| int | string | array | null | $values |
| Exception |
Definition at line 432 of file class.ActiveRecordList.php.
|
protected |
| string | array | null | $values |
Definition at line 456 of file class.ActiveRecordList.php.
| ActiveRecordList::concat | ( | array | $fields, |
| string | $as | ||
| ) |
| $as |
Definition at line 265 of file class.ActiveRecordList.php.
| ActiveRecordList::connector | ( | arConnector | $arConnector | ) |
Definition at line 331 of file class.ActiveRecordList.php.
| ActiveRecordList::count | ( | ) |
Definition at line 355 of file class.ActiveRecordList.php.
| ActiveRecordList::dateFormat | ( | string | $date_format = 'd.m.Y - H:i:s' | ) |
Definition at line 315 of file class.ActiveRecordList.php.
| ActiveRecordList::debug | ( | ) |
Definition at line 323 of file class.ActiveRecordList.php.
| ActiveRecordList::first | ( | ) |
Definition at line 397 of file class.ActiveRecordList.php.
| ActiveRecordList::get | ( | ) |
Definition at line 378 of file class.ActiveRecordList.php.
| ActiveRecordList::getAddidtionalParameters | ( | ) |
Definition at line 569 of file class.ActiveRecordList.php.
| ActiveRecordList::getAR | ( | ) |
Definition at line 528 of file class.ActiveRecordList.php.
Referenced by __construct(), arConnectorDB\buildQuery(), getArConnector(), and arConnectorSession\readSet().
Here is the caller graph for this function:| ActiveRecordList::getArConcatCollection | ( | ) |
Definition at line 295 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:
|
protected |
Definition at line 75 of file class.ActiveRecordList.php.
References arConnectorMap\get(), and getAR().
Here is the call graph for this function:| ActiveRecordList::getArHavingCollection | ( | ) |
Definition at line 305 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArJoinCollection | ( | ) |
Definition at line 280 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArLimitCollection | ( | ) |
Definition at line 290 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery(), and limit().
Here is the caller graph for this function:| ActiveRecordList::getArOrderCollection | ( | ) |
Definition at line 285 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery(), and orderBy().
Here is the caller graph for this function:| ActiveRecordList::getArray | ( | ?string | $key = null, |
| string|array|null | $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 420 of file class.ActiveRecordList.php.
| ActiveRecordList::getArSelectCollection | ( | ) |
Definition at line 300 of file class.ActiveRecordList.php.
Referenced by __construct(), and arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArWhereCollection | ( | ) |
Definition at line 275 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery(), arConnectorSession\readSet(), and where().
Here is the caller graph for this function:| ActiveRecordList::getClass | ( | ) |
Definition at line 370 of file class.ActiveRecordList.php.
| ActiveRecordList::getCollection | ( | ) |
Definition at line 360 of file class.ActiveRecordList.php.
| ActiveRecordList::getDateFormat | ( | ) |
Definition at line 543 of file class.ActiveRecordList.php.
| ActiveRecordList::getDebug | ( | ) |
Definition at line 533 of file class.ActiveRecordList.php.
| ActiveRecordList::getFirstFromLastQuery | ( | ) |
Definition at line 388 of file class.ActiveRecordList.php.
|
static |
Definition at line 553 of file class.ActiveRecordList.php.
| ActiveRecordList::getRaw | ( | ) |
Definition at line 579 of file class.ActiveRecordList.php.
| ActiveRecordList::hasSets | ( | ) |
Definition at line 345 of file class.ActiveRecordList.php.
| 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 251 of file class.ActiveRecordList.php.
| ActiveRecordList::innerjoinAR | ( | ActiveRecord | $activeRecord, |
| $on_this, | |||
| string | $on_external, | ||
| array | $fields = ['*'], |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $on_this | |
| $on_external |
Definition at line 164 of file class.ActiveRecordList.php.
|
protected |
| $tablename | |
| $on_this | |
| $on_external |
| arException |
Definition at line 188 of file class.ActiveRecordList.php.
References arException\LIST_JOIN_ON_WRONG_FIELD.
| ActiveRecordList::last | ( | ) |
Definition at line 406 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 235 of file class.ActiveRecordList.php.
| ActiveRecordList::limit | ( | int | $start, |
| int | $end | ||
| ) |
| $start | |
| $end |
| arException |
Definition at line 149 of file class.ActiveRecordList.php.
References getArLimitCollection().
Here is the call graph for this function:
|
protected |
Definition at line 518 of file class.ActiveRecordList.php.
| ActiveRecordList::orderBy | ( | string | $order_by, |
| string | $order_direction = 'ASC' |
||
| ) |
| $order_by |
| arException |
Definition at line 134 of file class.ActiveRecordList.php.
References getArOrderCollection().
Here is the call graph for this function:| ActiveRecordList::raw | ( | bool | $set_raw = true | ) |
Definition at line 338 of file class.ActiveRecordList.php.
| ActiveRecordList::setAddidtionalParameters | ( | array | $addidtional_parameters | ) |
| mixed[] | $addidtional_parameters |
Definition at line 561 of file class.ActiveRecordList.php.
Referenced by additionalParams().
Here is the caller graph for this function:| ActiveRecordList::setAR | ( | \ActiveRecord | $activeRecord | ) |
Definition at line 523 of file class.ActiveRecordList.php.
Referenced by __construct().
Here is the caller graph for this function:| ActiveRecordList::setArHavingCollection | ( | \arHavingCollection | $arHavingCollection | ) |
Definition at line 310 of file class.ActiveRecordList.php.
| ActiveRecordList::setClass | ( | string | $class | ) |
Definition at line 365 of file class.ActiveRecordList.php.
| ActiveRecordList::setDateFormat | ( | string | $date_format | ) |
Definition at line 538 of file class.ActiveRecordList.php.
|
static |
Definition at line 548 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::setRaw | ( | bool | $raw | ) |
Definition at line 574 of file class.ActiveRecordList.php.
References ILIAS\Repository\raw().
Here is the call graph for this function:| ActiveRecordList::where | ( | $where, | |
$operator = null |
|||
| ) |
| $where | ||
| null | $operator |
| Exception |
Definition at line 97 of file class.ActiveRecordList.php.
References getArWhereCollection(), and arWhere\TYPE_STRING.
Here is the call graph for this function:
|
protected |
Definition at line 48 of file class.ActiveRecordList.php.
|
protected |
Definition at line 51 of file class.ActiveRecordList.php.
|
protected |
Definition at line 36 of file class.ActiveRecordList.php.
|
protected |
Definition at line 38 of file class.ActiveRecordList.php.
|
protected |
Definition at line 33 of file class.ActiveRecordList.php.
|
protected |
Definition at line 35 of file class.ActiveRecordList.php.
|
protected |
Definition at line 34 of file class.ActiveRecordList.php.
|
protected |
Definition at line 37 of file class.ActiveRecordList.php.
|
protected |
Definition at line 32 of file class.ActiveRecordList.php.
|
protected |
Definition at line 40 of file class.ActiveRecordList.php.
|
protected |
Definition at line 50 of file class.ActiveRecordList.php.
|
protected |
Definition at line 47 of file class.ActiveRecordList.php.
|
protected |
Definition at line 46 of file class.ActiveRecordList.php.
|
staticprotected |
Definition at line 49 of file class.ActiveRecordList.php.
|
protected |
Definition at line 39 of file class.ActiveRecordList.php.
|
protected |
Definition at line 52 of file class.ActiveRecordList.php.
|
protected |
Definition at line 44 of file class.ActiveRecordList.php.
|
protected |
Definition at line 45 of file class.ActiveRecordList.php.