ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ActiveRecordList Class Reference

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
 

Detailed Description

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

Author
Oskar Truffer ot@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch @description
Version
2.0.7

Definition at line 30 of file class.ActiveRecordList.php.

Constructor & Destructor Documentation

◆ __construct()

ActiveRecordList::__construct ( ActiveRecord  $activeRecord)

@noinspection PhpFieldAssignmentTypeMismatchInspection

Definition at line 57 of file class.ActiveRecordList.php.

58 {
59 $this->class = $activeRecord::class;
60 $this->setAR($activeRecord);
61 $this->arWhereCollection = arWhereCollection::getInstance($this->getAR());
62 $this->arJoinCollection = arJoinCollection::getInstance($this->getAR());
63 $this->arLimitCollection = arLimitCollection::getInstance($this->getAR());
64 $this->arOrderCollection = arOrderCollection::getInstance($this->getAR());
65 $this->arConcatCollection = arConcatCollection::getInstance($this->getAR());
66 $this->arSelectCollection = arSelectCollection::getInstance($this->getAR());
67 $this->arHavingCollection = arHavingCollection::getInstance($this->getAR());
68
69 $arSelect = new arSelect();
70 $arSelect->setTableName($activeRecord->getConnectorContainerName());
71 $arSelect->setFieldName('*');
72 $this->getArSelectCollection()->add($arSelect);
73 }
setAR(\ActiveRecord $activeRecord)
getConnectorContainerName()
@description Return the Name of your Connector Table
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References getAR(), getArSelectCollection(), ActiveRecord\getConnectorContainerName(), and setAR().

+ Here is the call graph for this function:

Member Function Documentation

◆ additionalParams()

ActiveRecordList::additionalParams ( array  $additional_params)

Definition at line 80 of file class.ActiveRecordList.php.

80 : self
81 {
82 $this->setAddidtionalParameters($additional_params);
83
84 return $this;
85 }
setAddidtionalParameters(array $addidtional_parameters)

References setAddidtionalParameters().

+ Here is the call graph for this function:

◆ affectedRows()

ActiveRecordList::affectedRows ( )

Definition at line 350 of file class.ActiveRecordList.php.

350 : int
351 {
352 return $this->getArConnector()->affectedRows($this);
353 }

◆ buildArray()

ActiveRecordList::buildArray ( ?string  $key,
  $values 
)
protected
Parameters
int | string | array | null$values
Returns
mixed[]|mixed[][]|int[]|string[]|null[]
Exceptions
Exception

Definition at line 432 of file class.ActiveRecordList.php.

432 : array
433 {
434 if ($key === null && $values === null) {
435 return $this->result_array;
436 }
437 $array = [];
438 foreach ($this->result_array as $row) {
439 if ($key) {
440 if (!array_key_exists($key, $row)) {
441 throw new Exception("The attribute $key does not exist on this model.");
442 }
443 $array[$row[$key]] = $this->buildRow($row, $values);
444 } else {
445 $array[] = $this->buildRow($row, $values);
446 }
447 }
448
449 return $array;
450 }
buildRow(?array $row, $values)

◆ buildRow()

ActiveRecordList::buildRow ( ?array  $row,
  $values 
)
protected
Parameters
string | array | null$values
Returns
string|int|null|array

Definition at line 456 of file class.ActiveRecordList.php.

457 {
458 if ($values === null) {
459 return $row;
460 }
461
462 if (!is_array($values)) {
463 return $row[$values];
464 }
465
466 $array = [];
467 foreach ($row as $key => $value) {
468 if (in_array($key, $values)) {
469 $array[$key] = $value;
470 }
471 }
472
473 return $array;
474 }

◆ concat()

ActiveRecordList::concat ( array  $fields,
string  $as 
)
Parameters
$as

Definition at line 265 of file class.ActiveRecordList.php.

265 : self
266 {
267 $arConcat = new arConcat();
268 $arConcat->setAs($as);
269 $arConcat->setFields($fields);
270 $this->getArConcatCollection()->add($arConcat);
271
272 return $this;
273 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ connector()

ActiveRecordList::connector ( arConnector  $arConnector)

Definition at line 331 of file class.ActiveRecordList.php.

331 : self
332 {
333 $this->connector = $arConnector;
334
335 return $this;
336 }
connector(arConnector $arConnector)

◆ count()

ActiveRecordList::count ( )

Definition at line 355 of file class.ActiveRecordList.php.

355 : int
356 {
357 return $this->affectedRows();
358 }

◆ dateFormat()

ActiveRecordList::dateFormat ( string  $date_format = 'd.m.Y - H:i:s')

Definition at line 315 of file class.ActiveRecordList.php.

315 :i:s'): self
316 {
317 $this->loaded = false;
318 $this->setDateFormat($date_format);
319
320 return $this;
321 }

◆ debug()

ActiveRecordList::debug ( )

Definition at line 323 of file class.ActiveRecordList.php.

323 : self
324 {
325 $this->loaded = false;
326 $this->debug = true;
327
328 return $this;
329 }

◆ first()

ActiveRecordList::first ( )

Definition at line 397 of file class.ActiveRecordList.php.

398 {
399 $this->load();
400
401 $result = array_values($this->result);
402
403 return array_shift($result);
404 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ get()

ActiveRecordList::get ( )
Returns
\ActiveRecord[]

Definition at line 378 of file class.ActiveRecordList.php.

378 : array
379 {
380 $this->load();
381
382 return $this->result;
383 }

◆ getAddidtionalParameters()

ActiveRecordList::getAddidtionalParameters ( )
Returns
mixed[]

Definition at line 569 of file class.ActiveRecordList.php.

569 : array
570 {
572 }

◆ getAR()

ActiveRecordList::getAR ( )

Definition at line 528 of file class.ActiveRecordList.php.

529 {
530 return $this->ar;
531 }

Referenced by __construct(), arConnectorDB\buildQuery(), getArConnector(), and arConnectorSession\readSet().

+ Here is the caller graph for this function:

◆ getArConcatCollection()

ActiveRecordList::getArConcatCollection ( )

Definition at line 295 of file class.ActiveRecordList.php.

296 {
298 }
arConcatCollection $arConcatCollection

Referenced by arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ getArConnector()

ActiveRecordList::getArConnector ( )
protected

Definition at line 75 of file class.ActiveRecordList.php.

76 {
77 return arConnectorMap::get($this->getAR());
78 }
static get(ActiveRecord $activeRecord)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References arConnectorMap\get(), and getAR().

+ Here is the call graph for this function:

◆ getArHavingCollection()

ActiveRecordList::getArHavingCollection ( )

Definition at line 305 of file class.ActiveRecordList.php.

306 {
308 }
arHavingCollection $arHavingCollection

Referenced by arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ getArJoinCollection()

ActiveRecordList::getArJoinCollection ( )

Definition at line 280 of file class.ActiveRecordList.php.

281 {
283 }
arJoinCollection $arJoinCollection

Referenced by arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ getArLimitCollection()

ActiveRecordList::getArLimitCollection ( )

Definition at line 290 of file class.ActiveRecordList.php.

291 {
293 }
arLimitCollection $arLimitCollection

Referenced by arConnectorDB\buildQuery(), and limit().

+ Here is the caller graph for this function:

◆ getArOrderCollection()

ActiveRecordList::getArOrderCollection ( )

Definition at line 285 of file class.ActiveRecordList.php.

286 {
288 }
arOrderCollection $arOrderCollection

Referenced by arConnectorDB\buildQuery(), and orderBy().

+ Here is the caller graph for this function:

◆ getArray()

ActiveRecordList::getArray ( ?string  $key = null,
string|array|null  $values = null 
)
Parameters
string | null$keyshall a specific value be used as a key? if null then the 1. array key is just increasing from 0.
string | array$valueswhich values should be taken? if null all are given. If only a string is given then the result is an 1D array!
Returns
mixed[]|mixed[][]|int[]|string[]|null[]

Definition at line 420 of file class.ActiveRecordList.php.

420 : array
421 {
422 $this->load();
423
424 return $this->buildArray($key, $values);
425 }
buildArray(?string $key, $values)

◆ getArSelectCollection()

ActiveRecordList::getArSelectCollection ( )

Definition at line 300 of file class.ActiveRecordList.php.

301 {
303 }
arSelectCollection $arSelectCollection

Referenced by __construct(), and arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ getArWhereCollection()

ActiveRecordList::getArWhereCollection ( )

Definition at line 275 of file class.ActiveRecordList.php.

276 {
278 }
arWhereCollection $arWhereCollection

Referenced by arConnectorDB\buildQuery(), arConnectorSession\readSet(), and where().

+ Here is the caller graph for this function:

◆ getClass()

ActiveRecordList::getClass ( )

Definition at line 370 of file class.ActiveRecordList.php.

370 : string
371 {
372 return $this->class;
373 }

◆ getCollection()

ActiveRecordList::getCollection ( )

Definition at line 360 of file class.ActiveRecordList.php.

360 : self
361 {
362 return $this;
363 }

◆ getDateFormat()

ActiveRecordList::getDateFormat ( )

Definition at line 543 of file class.ActiveRecordList.php.

543 : string
544 {
545 return $this->date_format ?? '';
546 }

◆ getDebug()

ActiveRecordList::getDebug ( )

Definition at line 533 of file class.ActiveRecordList.php.

533 : bool
534 {
535 return $this->debug;
536 }

◆ getFirstFromLastQuery()

ActiveRecordList::getFirstFromLastQuery ( )
Deprecated:

Definition at line 388 of file class.ActiveRecordList.php.

389 {
390 $this->loadLastQuery();
391
392 $result = array_values($this->result);
393
394 return array_shift($result);
395 }

◆ getLastQuery()

static ActiveRecordList::getLastQuery ( )
static

Definition at line 553 of file class.ActiveRecordList.php.

553 : ?string
554 {
555 return self::$last_query;
556 }

◆ getRaw()

ActiveRecordList::getRaw ( )

Definition at line 579 of file class.ActiveRecordList.php.

579 : bool
580 {
581 return $this->raw;
582 }

◆ hasSets()

ActiveRecordList::hasSets ( )

Definition at line 345 of file class.ActiveRecordList.php.

345 : bool
346 {
347 return $this->affectedRows() > 0;
348 }

◆ innerjoin()

ActiveRecordList::innerjoin ( string  $tablename,
  $on_this,
string  $on_external,
array  $fields = ['*'],
string  $operator = '=',
bool  $both_external = false 
)
Parameters
$tablename
$on_this
$on_external

Definition at line 251 of file class.ActiveRecordList.php.

258 : self {
259 return $this->join(arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
260 }
join(string $type, string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
const TYPE_INNER

◆ innerjoinAR()

ActiveRecordList::innerjoinAR ( ActiveRecord  $activeRecord,
  $on_this,
string  $on_external,
array  $fields = ['*'],
string  $operator = '=',
bool  $both_external = false 
)
Parameters
$on_this
$on_external

Definition at line 164 of file class.ActiveRecordList.php.

171 : self {
172 return $this->innerjoin(
173 $activeRecord->getConnectorContainerName(),
174 $on_this,
175 $on_external,
176 $fields,
177 $operator,
178 $both_external
179 );
180 }
innerjoin(string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)

◆ join()

ActiveRecordList::join ( string  $type,
string  $tablename,
  $on_this,
string  $on_external,
array  $fields = ['*'],
string  $operator = '=',
bool  $both_external = false 
)
protected
Parameters
$tablename
$on_this
$on_external
Exceptions
arException

Definition at line 188 of file class.ActiveRecordList.php.

196 : self {
197 if (!$both_external && !$this->getAR()->getArFieldList()->isField($on_this)) {
199 }
200 $full_names = false;
201 foreach ($fields as $field_name) {
202 if ($this->getAR()->getArFieldList()->isField($field_name)) {
203 $full_names = true;
204 break;
205 }
206 }
207
208 $arJoin = new arJoin();
209 $arJoin->setType($type);
210 $arJoin->setFullNames($full_names);
211 $arJoin->setTableName($tablename);
212 $arJoin->setOnFirstField($on_this);
213 $arJoin->setOnSecondField($on_external);
214 $arJoin->setOperator($operator);
215 $arJoin->setFields($fields);
216 $arJoin->setBothExternal($both_external);
217 $this->getArJoinCollection()->add($arJoin);
218
219 foreach ($fields as $field) {
220 $arSelect = new arSelect();
221 $arSelect->setTableName($arJoin->getTableNameAs());
222 $arSelect->setFieldName($field);
223 $arSelect->setAs($arJoin->getTableNameAs() . '_' . $field);
224 $this->getArSelectCollection()->add($arSelect);
225 }
226
227 return $this;
228 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const LIST_JOIN_ON_WRONG_FIELD
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References arException\LIST_JOIN_ON_WRONG_FIELD.

◆ last()

ActiveRecordList::last ( )

Definition at line 406 of file class.ActiveRecordList.php.

407 {
408 $this->load();
409
410 $result = array_values($this->result);
411
412 return array_pop($result);
413 }

◆ leftjoin()

ActiveRecordList::leftjoin ( string  $tablename,
  $on_this,
string  $on_external,
array  $fields = ['*'],
string  $operator = '=',
bool  $both_external = false 
)
Parameters
$tablename
$on_this
$on_external

Definition at line 235 of file class.ActiveRecordList.php.

242 : self {
243 return $this->join(arJoin::TYPE_LEFT, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
244 }
const TYPE_LEFT

◆ limit()

ActiveRecordList::limit ( int  $start,
int  $end 
)
Parameters
$start
$end
Exceptions
arException

Definition at line 149 of file class.ActiveRecordList.php.

149 : self
150 {
151 $arLimit = new arLimit();
152 $arLimit->setStart($start);
153 $arLimit->setEnd($end);
154
155 $this->getArLimitCollection()->add($arLimit);
156
157 return $this;
158 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References getArLimitCollection().

+ Here is the call graph for this function:

◆ loadLastQuery()

ActiveRecordList::loadLastQuery ( )
protected
Deprecated:

Definition at line 518 of file class.ActiveRecordList.php.

518 : void
519 {
520 // $this->readFromDb(self::$last_query);
521 }

◆ orderBy()

ActiveRecordList::orderBy ( string  $order_by,
string  $order_direction = 'ASC' 
)
Parameters
$order_by
Exceptions
arException

Definition at line 134 of file class.ActiveRecordList.php.

134 : self
135 {
136 $arOrder = new arOrder();
137 $arOrder->setFieldname($order_by);
138 $arOrder->setDirection($order_direction);
139 $this->getArOrderCollection()->add($arOrder);
140
141 return $this;
142 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References getArOrderCollection().

+ Here is the call graph for this function:

◆ raw()

ActiveRecordList::raw ( bool  $set_raw = true)

Definition at line 338 of file class.ActiveRecordList.php.

338 : self
339 {
340 $this->setRaw($set_raw);
341
342 return $this;
343 }

◆ setAddidtionalParameters()

ActiveRecordList::setAddidtionalParameters ( array  $addidtional_parameters)
Parameters
mixed[]$addidtional_parameters

Definition at line 561 of file class.ActiveRecordList.php.

561 : void
562 {
563 $this->addidtional_parameters = $addidtional_parameters;
564 }

Referenced by additionalParams().

+ Here is the caller graph for this function:

◆ setAR()

ActiveRecordList::setAR ( \ActiveRecord  $activeRecord)

Definition at line 523 of file class.ActiveRecordList.php.

523 : void
524 {
525 $this->ar = $activeRecord;
526 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setArHavingCollection()

ActiveRecordList::setArHavingCollection ( \arHavingCollection  $arHavingCollection)

Definition at line 310 of file class.ActiveRecordList.php.

310 : void
311 {
313 }

◆ setClass()

ActiveRecordList::setClass ( string  $class)

Definition at line 365 of file class.ActiveRecordList.php.

365 : void
366 {
367 $this->class = $class;
368 }

◆ setDateFormat()

ActiveRecordList::setDateFormat ( string  $date_format)

Definition at line 538 of file class.ActiveRecordList.php.

538 : void
539 {
540 $this->date_format = $date_format;
541 }

◆ setLastQuery()

static ActiveRecordList::setLastQuery ( string  $last_query)
static

Definition at line 548 of file class.ActiveRecordList.php.

548 : void
549 {
550 self::$last_query = $last_query;
551 }

Referenced by arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ setRaw()

ActiveRecordList::setRaw ( bool  $raw)

Definition at line 574 of file class.ActiveRecordList.php.

574 : void
575 {
576 $this->raw = $raw;
577 }
raw(bool $set_raw=true)

References ILIAS\Repository\raw().

+ Here is the call graph for this function:

◆ where()

ActiveRecordList::where (   $where,
  $operator = null 
)
Parameters
$where
null$operator
Returns
$this|void
Exceptions
Exception

Definition at line 97 of file class.ActiveRecordList.php.

97 : self
98 {
99 $this->loaded = false;
100 if (is_string($where)) {
101 $arWhere = new arWhere();
102 $arWhere->setType(arWhere::TYPE_STRING);
103 $arWhere->setStatement($where);
104 $this->getArWhereCollection()->add($arWhere);
105
106 return $this;
107 }
108
109 if (is_array($where)) {
110 foreach ($where as $field_name => $value) {
111 $arWhere = new arWhere();
112 $arWhere->setFieldname($field_name);
113 $arWhere->setValue($value);
114 if ($operator) {
115 if (is_array($operator)) {
116 $arWhere->setOperator($operator[$field_name]);
117 } else {
118 $arWhere->setOperator($operator);
119 }
120 }
121 $this->getArWhereCollection()->add($arWhere);
122 }
123
124 return $this;
125 }
126
127 throw new Exception('Wrong where Statement, use strings or arrays');
128 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const TYPE_STRING

References getArWhereCollection(), and arWhere\TYPE_STRING.

+ Here is the call graph for this function:

Field Documentation

◆ $addidtional_parameters

array ActiveRecordList::$addidtional_parameters = []
protected

Definition at line 48 of file class.ActiveRecordList.php.

◆ $ar

ActiveRecord ActiveRecordList::$ar = null
protected

Definition at line 51 of file class.ActiveRecordList.php.

◆ $arConcatCollection

arConcatCollection ActiveRecordList::$arConcatCollection
protected

Definition at line 36 of file class.ActiveRecordList.php.

◆ $arHavingCollection

arHavingCollection ActiveRecordList::$arHavingCollection
protected

Definition at line 38 of file class.ActiveRecordList.php.

◆ $arJoinCollection

arJoinCollection ActiveRecordList::$arJoinCollection
protected

Definition at line 33 of file class.ActiveRecordList.php.

◆ $arLimitCollection

arLimitCollection ActiveRecordList::$arLimitCollection
protected

Definition at line 35 of file class.ActiveRecordList.php.

◆ $arOrderCollection

arOrderCollection ActiveRecordList::$arOrderCollection
protected

Definition at line 34 of file class.ActiveRecordList.php.

◆ $arSelectCollection

arSelectCollection ActiveRecordList::$arSelectCollection
protected

Definition at line 37 of file class.ActiveRecordList.php.

◆ $arWhereCollection

arWhereCollection ActiveRecordList::$arWhereCollection
protected

Definition at line 32 of file class.ActiveRecordList.php.

◆ $class

string ActiveRecordList::$class = ''
protected

Definition at line 40 of file class.ActiveRecordList.php.

◆ $connector

arConnector ActiveRecordList::$connector = null
protected

Definition at line 50 of file class.ActiveRecordList.php.

◆ $date_format

string ActiveRecordList::$date_format = null
protected

Definition at line 47 of file class.ActiveRecordList.php.

◆ $debug

bool ActiveRecordList::$debug = false
protected

Definition at line 46 of file class.ActiveRecordList.php.

◆ $last_query

string ActiveRecordList::$last_query = null
staticprotected

Definition at line 49 of file class.ActiveRecordList.php.

◆ $loaded

bool ActiveRecordList::$loaded = false
protected

Definition at line 39 of file class.ActiveRecordList.php.

◆ $raw

bool ActiveRecordList::$raw = false
protected

Definition at line 52 of file class.ActiveRecordList.php.

◆ $result

array ActiveRecordList::$result = []
protected

Definition at line 44 of file class.ActiveRecordList.php.

◆ $result_array

array ActiveRecordList::$result_array = []
protected

Definition at line 45 of file class.ActiveRecordList.php.


The documentation for this class was generated from the following file: