ILIAS
release_8 Revision v8.19
|
NullPointerExceptionInspection More...
Public Member Functions | |
__construct (ActiveRecord $ar) | |
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 |
NullPointerExceptionInspection
NullPointerExceptionInspection NullPointerExceptionInspection NullPointerExceptionInspection Class ActiveRecordList
Definition at line 26 of file class.ActiveRecordList.php.
ActiveRecordList::__construct | ( | ActiveRecord | $ar | ) |
PhpFieldAssignmentTypeMismatchInspection
Definition at line 53 of file class.ActiveRecordList.php.
References getAR(), getArSelectCollection(), ActiveRecord\getConnectorContainerName(), and setAR().
ActiveRecordList::additionalParams | ( | array | $additional_params | ) |
Definition at line 76 of file class.ActiveRecordList.php.
References setAddidtionalParameters().
ActiveRecordList::affectedRows | ( | ) |
Definition at line 346 of file class.ActiveRecordList.php.
References getArConnector().
Referenced by count(), and hasSets().
|
protected |
int | string | array | null | $values |
Exception |
Definition at line 426 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key, $result_array, and buildRow().
Referenced by getArray().
|
protected |
string | array | null | $values |
Definition at line 450 of file class.ActiveRecordList.php.
References ILIAS\LTI\ToolProvider\$key, $res, getAddidtionalParameters(), getAR(), getArConnector(), getDateFormat(), and getRaw().
Referenced by buildArray().
ActiveRecordList::concat | ( | array | $fields, |
string | $as | ||
) |
$as |
Definition at line 261 of file class.ActiveRecordList.php.
References getArConcatCollection().
ActiveRecordList::connector | ( | arConnector | $connector | ) |
Definition at line 327 of file class.ActiveRecordList.php.
References $connector.
ActiveRecordList::count | ( | ) |
Definition at line 351 of file class.ActiveRecordList.php.
References affectedRows().
ActiveRecordList::dateFormat | ( | string | $date_format = 'd.m.Y - H:i:s' | ) |
Definition at line 311 of file class.ActiveRecordList.php.
References setDateFormat().
ActiveRecordList::debug | ( | ) |
Definition at line 319 of file class.ActiveRecordList.php.
ActiveRecordList::first | ( | ) |
Definition at line 393 of file class.ActiveRecordList.php.
ActiveRecordList::get | ( | ) |
ActiveRecordList::getAddidtionalParameters | ( | ) |
Definition at line 565 of file class.ActiveRecordList.php.
References $addidtional_parameters.
Referenced by buildRow().
ActiveRecordList::getAR | ( | ) |
Definition at line 524 of file class.ActiveRecordList.php.
References $ar.
Referenced by __construct(), arConnectorDB\buildQuery(), buildRow(), getArConnector(), join(), and arConnectorSession\readSet().
ActiveRecordList::getArConcatCollection | ( | ) |
Definition at line 291 of file class.ActiveRecordList.php.
References $arConcatCollection.
Referenced by arConnectorDB\buildQuery(), and concat().
|
protected |
Definition at line 71 of file class.ActiveRecordList.php.
References arConnectorMap\get(), and getAR().
Referenced by affectedRows(), and buildRow().
ActiveRecordList::getArHavingCollection | ( | ) |
Definition at line 301 of file class.ActiveRecordList.php.
References $arHavingCollection.
Referenced by arConnectorDB\buildQuery().
ActiveRecordList::getArJoinCollection | ( | ) |
Definition at line 276 of file class.ActiveRecordList.php.
References $arJoinCollection.
Referenced by arConnectorDB\buildQuery(), and join().
ActiveRecordList::getArLimitCollection | ( | ) |
Definition at line 286 of file class.ActiveRecordList.php.
References $arLimitCollection.
Referenced by arConnectorDB\buildQuery(), and limit().
ActiveRecordList::getArOrderCollection | ( | ) |
Definition at line 281 of file class.ActiveRecordList.php.
References $arOrderCollection.
Referenced by arConnectorDB\buildQuery(), and orderBy().
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, and buildArray().
ActiveRecordList::getArSelectCollection | ( | ) |
Definition at line 296 of file class.ActiveRecordList.php.
References $arSelectCollection.
Referenced by __construct(), arConnectorDB\buildQuery(), and join().
ActiveRecordList::getArWhereCollection | ( | ) |
Definition at line 271 of file class.ActiveRecordList.php.
References $arWhereCollection.
Referenced by arConnectorDB\buildQuery(), arConnectorSession\readSet(), and where().
ActiveRecordList::getClass | ( | ) |
ActiveRecordList::getCollection | ( | ) |
Definition at line 356 of file class.ActiveRecordList.php.
ActiveRecordList::getDateFormat | ( | ) |
Definition at line 539 of file class.ActiveRecordList.php.
Referenced by buildRow().
ActiveRecordList::getDebug | ( | ) |
ActiveRecordList::getFirstFromLastQuery | ( | ) |
Definition at line 384 of file class.ActiveRecordList.php.
References loadLastQuery().
|
static |
Definition at line 549 of file class.ActiveRecordList.php.
ActiveRecordList::getRaw | ( | ) |
Definition at line 575 of file class.ActiveRecordList.php.
References $raw.
Referenced by buildRow().
ActiveRecordList::hasSets | ( | ) |
Definition at line 341 of file class.ActiveRecordList.php.
References affectedRows().
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.
References join(), and arJoin\TYPE_INNER.
Referenced by innerjoinAR().
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.
References ActiveRecord\getConnectorContainerName(), and innerjoin().
|
protected |
$tablename | |
$on_this | |
$on_external |
arException |
Definition at line 184 of file class.ActiveRecordList.php.
References getAR(), getArJoinCollection(), getArSelectCollection(), and arException\LIST_JOIN_ON_WRONG_FIELD.
Referenced by innerjoin(), and leftjoin().
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.
References join(), and arJoin\TYPE_LEFT.
ActiveRecordList::limit | ( | int | $start, |
int | $end | ||
) |
$start | |
$end |
arException |
Definition at line 145 of file class.ActiveRecordList.php.
References getArLimitCollection().
|
protected |
Definition at line 514 of file class.ActiveRecordList.php.
Referenced by getFirstFromLastQuery().
ActiveRecordList::orderBy | ( | string | $order_by, |
string | $order_direction = 'ASC' |
||
) |
$order_by |
arException |
Definition at line 130 of file class.ActiveRecordList.php.
References getArOrderCollection().
ActiveRecordList::raw | ( | bool | $set_raw = true | ) |
Definition at line 334 of file class.ActiveRecordList.php.
References setRaw().
Referenced by setRaw().
ActiveRecordList::setAddidtionalParameters | ( | array | $addidtional_parameters | ) |
mixed[] | $addidtional_parameters |
Definition at line 557 of file class.ActiveRecordList.php.
References $addidtional_parameters.
Referenced by additionalParams().
ActiveRecordList::setAR | ( | \ActiveRecord | $ar | ) |
Definition at line 519 of file class.ActiveRecordList.php.
References $ar.
Referenced by __construct().
ActiveRecordList::setArHavingCollection | ( | \arHavingCollection | $arHavingCollection | ) |
Definition at line 306 of file class.ActiveRecordList.php.
References $arHavingCollection.
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.
References $date_format.
Referenced by dateFormat().
|
static |
Definition at line 544 of file class.ActiveRecordList.php.
References $last_query.
Referenced by arConnectorDB\buildQuery().
ActiveRecordList::setRaw | ( | bool | $raw | ) |
Definition at line 570 of file class.ActiveRecordList.php.
Referenced by raw().
ActiveRecordList::where | ( | $where, | |
$operator = null |
|||
) |
$where | ||
null | $operator |
Exception |
Definition at line 93 of file class.ActiveRecordList.php.
References getArWhereCollection(), and arWhere\TYPE_STRING.
|
protected |
Definition at line 44 of file class.ActiveRecordList.php.
Referenced by getAddidtionalParameters(), and setAddidtionalParameters().
|
protected |
Definition at line 47 of file class.ActiveRecordList.php.
|
protected |
Definition at line 32 of file class.ActiveRecordList.php.
Referenced by getArConcatCollection().
|
protected |
Definition at line 34 of file class.ActiveRecordList.php.
Referenced by getArHavingCollection(), and setArHavingCollection().
|
protected |
Definition at line 29 of file class.ActiveRecordList.php.
Referenced by getArJoinCollection().
|
protected |
Definition at line 31 of file class.ActiveRecordList.php.
Referenced by getArLimitCollection().
|
protected |
Definition at line 30 of file class.ActiveRecordList.php.
Referenced by getArOrderCollection().
|
protected |
Definition at line 33 of file class.ActiveRecordList.php.
Referenced by getArSelectCollection().
|
protected |
Definition at line 28 of file class.ActiveRecordList.php.
Referenced by getArWhereCollection().
|
protected |
Definition at line 36 of file class.ActiveRecordList.php.
Referenced by getClass().
|
protected |
Definition at line 46 of file class.ActiveRecordList.php.
Referenced by connector().
|
protected |
Definition at line 43 of file class.ActiveRecordList.php.
Referenced by setDateFormat().
|
protected |
Definition at line 42 of file class.ActiveRecordList.php.
Referenced by getDebug().
|
staticprotected |
Definition at line 45 of file class.ActiveRecordList.php.
Referenced by setLastQuery().
|
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.
Referenced by get().
|
protected |
Definition at line 41 of file class.ActiveRecordList.php.
Referenced by buildArray().