|
ILIAS
release_8 Revision v8.24
|
@noinspection NullPointerExceptionInspection More...
Collaboration diagram for ActiveRecordList:Public Member Functions | |
| __construct (ActiveRecord $ar) | |
| @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 $ar, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) | |
| leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) | |
| innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), 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 $connector) | |
| raw (bool $set_raw=true) | |
| hasSets () | |
| affectedRows () | |
| count () | |
| getCollection () | |
| setClass (string $class) | |
| getClass () | |
| get () | |
| getFirstFromLastQuery () | |
| first () | |
| last () | |
| getArray (string $key=null, $values=null) | |
| setAR (\ActiveRecord $ar) | |
| 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=array(' *'), 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() |
| array | $result_array = array() |
| bool | $debug = false |
| string | $date_format = null |
| array | $addidtional_parameters = array() |
| arConnector | $connector = null |
| ActiveRecord | $ar = null |
| bool | $raw = false |
Static Protected Attributes | |
| static string | $last_query = null |
@noinspection NullPointerExceptionInspection
@noinspection NullPointerExceptionInspection @noinspection NullPointerExceptionInspection @noinspection NullPointerExceptionInspection Class ActiveRecordList
Definition at line 26 of file class.ActiveRecordList.php.
| ActiveRecordList::__construct | ( | ActiveRecord | $ar | ) |
@noinspection PhpFieldAssignmentTypeMismatchInspection
Definition at line 53 of file class.ActiveRecordList.php.
References $ar, getAR(), getArSelectCollection(), ActiveRecord\getConnectorContainerName(), and setAR().
Here is the call graph for this function:| ActiveRecordList::additionalParams | ( | array | $additional_params | ) |
Definition at line 76 of file class.ActiveRecordList.php.
References setAddidtionalParameters().
Here is the call graph for this function:| ActiveRecordList::affectedRows | ( | ) |
Definition at line 346 of file class.ActiveRecordList.php.
|
protected |
| int | string | array | null | $values |
| Exception |
Definition at line 426 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key.
|
protected |
| string | array | null | $values |
Definition at line 450 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key.
| ActiveRecordList::concat | ( | array | $fields, |
| string | $as | ||
| ) |
| $as |
Definition at line 261 of file class.ActiveRecordList.php.
| ActiveRecordList::connector | ( | arConnector | $connector | ) |
Definition at line 327 of file class.ActiveRecordList.php.
| ActiveRecordList::count | ( | ) |
Definition at line 351 of file class.ActiveRecordList.php.
| ActiveRecordList::dateFormat | ( | string | $date_format = 'd.m.Y - H:i:s' | ) |
Definition at line 311 of file class.ActiveRecordList.php.
| ActiveRecordList::debug | ( | ) |
Definition at line 319 of file class.ActiveRecordList.php.
| ActiveRecordList::first | ( | ) |
Definition at line 393 of file class.ActiveRecordList.php.
| ActiveRecordList::get | ( | ) |
Definition at line 374 of file class.ActiveRecordList.php.
| ActiveRecordList::getAddidtionalParameters | ( | ) |
Definition at line 565 of file class.ActiveRecordList.php.
| ActiveRecordList::getAR | ( | ) |
Definition at line 524 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 291 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:
|
protected |
Definition at line 71 of file class.ActiveRecordList.php.
References arConnectorMap\get(), and getAR().
Here is the call graph for this function:| ActiveRecordList::getArHavingCollection | ( | ) |
Definition at line 301 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArJoinCollection | ( | ) |
Definition at line 276 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArLimitCollection | ( | ) |
Definition at line 286 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery(), and limit().
Here is the caller graph for this function:| ActiveRecordList::getArOrderCollection | ( | ) |
Definition at line 281 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery(), and orderBy().
Here is the caller graph for this function:| ActiveRecordList::getArray | ( | string | $key = null, |
$values = null |
|||
| ) |
| string | $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 415 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key.
| ActiveRecordList::getArSelectCollection | ( | ) |
Definition at line 296 of file class.ActiveRecordList.php.
Referenced by __construct(), and arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::getArWhereCollection | ( | ) |
Definition at line 271 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 366 of file class.ActiveRecordList.php.
| ActiveRecordList::getCollection | ( | ) |
Definition at line 356 of file class.ActiveRecordList.php.
| ActiveRecordList::getDateFormat | ( | ) |
Definition at line 539 of file class.ActiveRecordList.php.
| ActiveRecordList::getDebug | ( | ) |
Definition at line 529 of file class.ActiveRecordList.php.
| ActiveRecordList::getFirstFromLastQuery | ( | ) |
Definition at line 384 of file class.ActiveRecordList.php.
|
static |
Definition at line 549 of file class.ActiveRecordList.php.
| ActiveRecordList::getRaw | ( | ) |
Definition at line 575 of file class.ActiveRecordList.php.
| ActiveRecordList::hasSets | ( | ) |
Definition at line 341 of file class.ActiveRecordList.php.
| ActiveRecordList::innerjoin | ( | $tablename, | |
| $on_this, | |||
| $on_external, | |||
| array | $fields = array('*'), |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $tablename | |
| $on_this | |
| $on_external |
Definition at line 247 of file class.ActiveRecordList.php.
| ActiveRecordList::innerjoinAR | ( | ActiveRecord | $ar, |
| $on_this, | |||
| $on_external, | |||
| array | $fields = array('*'), |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $on_this | |
| $on_external |
Definition at line 160 of file class.ActiveRecordList.php.
|
protected |
| $tablename | |
| $on_this | |
| $on_external |
| arException |
Definition at line 184 of file class.ActiveRecordList.php.
References arException\LIST_JOIN_ON_WRONG_FIELD.
| ActiveRecordList::last | ( | ) |
Definition at line 402 of file class.ActiveRecordList.php.
| ActiveRecordList::leftjoin | ( | $tablename, | |
| $on_this, | |||
| $on_external, | |||
| array | $fields = array('*'), |
||
| string | $operator = '=', |
||
| bool | $both_external = false |
||
| ) |
| $tablename | |
| $on_this | |
| $on_external |
Definition at line 231 of file class.ActiveRecordList.php.
| ActiveRecordList::limit | ( | int | $start, |
| int | $end | ||
| ) |
| $start | |
| $end |
| arException |
Definition at line 145 of file class.ActiveRecordList.php.
References getArLimitCollection().
Here is the call graph for this function:
|
protected |
Definition at line 514 of file class.ActiveRecordList.php.
| ActiveRecordList::orderBy | ( | string | $order_by, |
| string | $order_direction = 'ASC' |
||
| ) |
| $order_by |
| arException |
Definition at line 130 of file class.ActiveRecordList.php.
References getArOrderCollection().
Here is the call graph for this function:| ActiveRecordList::raw | ( | bool | $set_raw = true | ) |
Definition at line 334 of file class.ActiveRecordList.php.
| ActiveRecordList::setAddidtionalParameters | ( | array | $addidtional_parameters | ) |
| mixed[] | $addidtional_parameters |
Definition at line 557 of file class.ActiveRecordList.php.
Referenced by additionalParams().
Here is the caller graph for this function:| ActiveRecordList::setAR | ( | \ActiveRecord | $ar | ) |
Definition at line 519 of file class.ActiveRecordList.php.
Referenced by __construct().
Here is the caller graph for this function:| ActiveRecordList::setArHavingCollection | ( | \arHavingCollection | $arHavingCollection | ) |
Definition at line 306 of file class.ActiveRecordList.php.
| ActiveRecordList::setClass | ( | string | $class | ) |
Definition at line 361 of file class.ActiveRecordList.php.
| ActiveRecordList::setDateFormat | ( | string | $date_format | ) |
Definition at line 534 of file class.ActiveRecordList.php.
|
static |
Definition at line 544 of file class.ActiveRecordList.php.
Referenced by arConnectorDB\buildQuery().
Here is the caller graph for this function:| ActiveRecordList::setRaw | ( | bool | $raw | ) |
Definition at line 570 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 93 of file class.ActiveRecordList.php.
References getArWhereCollection(), and arWhere\TYPE_STRING.
Here is the call graph for this function:
|
protected |
Definition at line 44 of file class.ActiveRecordList.php.
|
protected |
Definition at line 47 of file class.ActiveRecordList.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ActiveRecordList.php.
|
protected |
Definition at line 34 of file class.ActiveRecordList.php.
|
protected |
Definition at line 29 of file class.ActiveRecordList.php.
|
protected |
Definition at line 31 of file class.ActiveRecordList.php.
|
protected |
Definition at line 30 of file class.ActiveRecordList.php.
|
protected |
Definition at line 33 of file class.ActiveRecordList.php.
|
protected |
Definition at line 28 of file class.ActiveRecordList.php.
|
protected |
Definition at line 36 of file class.ActiveRecordList.php.
|
protected |
Definition at line 46 of file class.ActiveRecordList.php.
|
protected |
Definition at line 43 of file class.ActiveRecordList.php.
|
protected |
Definition at line 42 of file class.ActiveRecordList.php.
|
staticprotected |
Definition at line 45 of file class.ActiveRecordList.php.
|
protected |
Definition at line 35 of file class.ActiveRecordList.php.
|
protected |
Definition at line 48 of file class.ActiveRecordList.php.
|
protected |
Definition at line 40 of file class.ActiveRecordList.php.
|
protected |
Definition at line 41 of file class.ActiveRecordList.php.