ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ActiveRecordList Class Reference

Class ActiveRecordList. More...

+ Collaboration diagram for ActiveRecordList:

Public Member Functions

 __construct (ActiveRecord $ar)
 
 additionalParams (array $additional_params)
 
 where ($where, $operator=null)
 
 orderBy ($order_by, $order_direction='ASC')
 
 limit ($start, $end)
 
 innerjoinAR (ActiveRecord $ar, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
 leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
 innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
 concat (array $fields, $as)
 
 getArWhereCollection ()
 
 getArJoinCollection ()
 
 getArOrderCollection ()
 
 getArLimitCollection ()
 
 getArConcatCollection ()
 
 getArSelectCollection ()
 
 getArHavingCollection ()
 
 setArHavingCollection ($arHavingCollection)
 
 dateFormat ($date_format='d.m.Y - H:i:s')
 
 debug ()
 
 connector (arConnector $connector)
 
 raw ($set_raw=true)
 
 hasSets ()
 
 affectedRows ()
 
 count ()
 
 getCollection ()
 
 setClass ($class)
 
 getClass ()
 
 get ()
 
 getFirstFromLastQuery ()
 
 first ()
 
 last ()
 
 getArray ($key=null, $values=null)
 
 setAR ($ar)
 
 getAR ()
 
 getDebug ()
 
 setDateFormat ($date_format)
 
 getDateFormat ()
 
 setAddidtionalParameters ($addidtional_parameters)
 
 getAddidtionalParameters ()
 
 setRaw ($raw)
 
 getRaw ()
 

Static Public Member Functions

static setLastQuery ($last_query)
 
static getLastQuery ()
 

Protected Member Functions

 getArConnector ()
 
 join ($type, $tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
 buildArray ($key, $values)
 
 buildRow ($row, $values)
 
 loadLastQuery ()
 

Protected Attributes

 $arWhereCollection
 
 $arJoinCollection
 
 $arOrderCollection
 
 $arLimitCollection
 
 $arConcatCollection
 
 $arSelectCollection
 
 $arHavingCollection
 
 $loaded = false
 
 $class = ''
 
 $result = array()
 
 $result_array = array()
 
 $debug = false
 
 $date_format = null
 
 $addidtional_parameters = array()
 
 $connector
 
 $ar
 
 $raw = false
 

Static Protected Attributes

static $last_query
 

Detailed Description

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 20 of file class.ActiveRecordList.php.

Constructor & Destructor Documentation

◆ __construct()

ActiveRecordList::__construct ( ActiveRecord  $ar)
Parameters
ActiveRecord$ar

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

101 {
102 $this->class = get_class($ar);
103 $this->setAR($ar);
104 $this->arWhereCollection = arWhereCollection::getInstance($this->getAR());
105 $this->arJoinCollection = arJoinCollection::getInstance($this->getAR());
106 $this->arLimitCollection = arLimitCollection::getInstance($this->getAR());
107 $this->arOrderCollection = arOrderCollection::getInstance($this->getAR());
108 $this->arConcatCollection = arConcatCollection::getInstance($this->getAR());
109 $this->arSelectCollection = arSelectCollection::getInstance($this->getAR());
110 $this->arHavingCollection = arHavingCollection::getInstance($this->getAR());
111
112 $arSelect = new arSelect();
113 $arSelect->setTableName($ar->getConnectorContainerName());
114 $arSelect->setFieldName('*');
115 $this->getArSelectCollection()->add($arSelect);
116 // if ($ar->getArConnector() == NULL) {
117// $this->connector = new arConnectorDB($this);
118// } else {
119// $this->connector = $ar->getArConnector();
120// }
121 }
Class arConcatCollection.
Class arWhereCollection.
Class arJoinCollection.
Class arLimitCollection.
Class arOrderCollection.
Class arSelectCollection.
Class arSelect.
Class arWhereCollection.

References $ar, getAR(), getArSelectCollection(), and setAR().

+ Here is the call graph for this function:

Member Function Documentation

◆ additionalParams()

ActiveRecordList::additionalParams ( array  $additional_params)
Parameters
array$additional_params
Returns
$this

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

141 {
142 $this->setAddidtionalParameters($additional_params);
143
144 return $this;
145 }
setAddidtionalParameters($addidtional_parameters)

References setAddidtionalParameters().

+ Here is the call graph for this function:

◆ affectedRows()

ActiveRecordList::affectedRows ( )
Returns
int

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

489 {
490 return $this->getArConnector()->affectedRows($this);
491 }

References getArConnector().

Referenced by count(), and hasSets().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildArray()

ActiveRecordList::buildArray (   $key,
  $values 
)
protected
Parameters
$key
$values
Returns
array
Exceptions
Exception

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

603 {
604 if ($key === null and $values === null) {
605 return $this->result_array;
606 }
607 $array = array();
608 foreach ($this->result_array as $row) {
609 if ($key) {
610 if (!array_key_exists($key, $row)) {
611 throw new Exception("The attribute $key does not exist on this model.");
612 }
613 $array[$row[$key]] = $this->buildRow($row, $values);
614 } else {
615 $array[] = $this->buildRow($row, $values);
616 }
617 }
618
619 return $array;
620 }

References $result_array, and buildRow().

Referenced by getArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildRow()

ActiveRecordList::buildRow (   $row,
  $values 
)
protected
Parameters
$row
$values
Returns
array

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

630 {
631 if ($values === null) {
632 return $row;
633 } else {
634 $array = array();
635 if (!is_array($values)) {
636 return $row[$values];
637 }
638 foreach ($row as $key => $value) {
639 if (in_array($key, $values)) {
640 $array[$key] = $value;
641 }
642 }
643
644 return $array;
645 }
646 }

Referenced by buildArray().

+ Here is the caller graph for this function:

◆ concat()

ActiveRecordList::concat ( array  $fields,
  $as 
)
Parameters
array$fields
$as
Returns
$this

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

337 {
338 $con = new arConcat();
339 $con->setAs($as);
340 $con->setFields($fields);
341 $this->getArConcatCollection()->add($con);
342
343 return $this;
344 }
Class arConcat.

References getArConcatCollection().

+ Here is the call graph for this function:

◆ connector()

ActiveRecordList::connector ( arConnector  $connector)
Parameters
arConnector$connector
Returns
$this

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

456 {
457 $this->connector = $connector;
458
459 return $this;
460 }
connector(arConnector $connector)

References $connector, and connector().

Referenced by connector().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ count()

ActiveRecordList::count ( )
Returns
int

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

498 {
499 return $this->affectedRows();
500 }

References affectedRows().

+ Here is the call graph for this function:

◆ dateFormat()

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

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

429 :i:s')
430 {
431 $this->loaded = false;
432 $this->setDateFormat($date_format);
433
434 return $this;
435 }

References $date_format, and setDateFormat().

+ Here is the call graph for this function:

◆ debug()

ActiveRecordList::debug ( )
Returns
$this

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

442 {
443 $this->loaded = false;
444 $this->debug = true;
445
446 return $this;
447 }

References debug().

Referenced by debug().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ first()

ActiveRecordList::first ( )
Returns
ActiveRecord

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

559 {
560 $this->load();
561
562 $result = array_values($this->result);
563
564 return array_shift($result);
565 }

References $result.

◆ get()

ActiveRecordList::get ( )
Returns
array

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

534 {
535 $this->load();
536
537 return $this->result;
538 }

References $result.

◆ getAddidtionalParameters()

ActiveRecordList::getAddidtionalParameters ( )
Returns
array

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

References $addidtional_parameters.

◆ getAR()

ActiveRecordList::getAR ( )
Returns
ActiveRecord

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

719 {
720 return $this->ar;
721 }

References $ar.

Referenced by __construct(), getArConnector(), join(), orderBy(), and arConnectorSession\readSet().

+ Here is the caller graph for this function:

◆ getArConcatCollection()

ActiveRecordList::getArConcatCollection ( )
Returns
arConcatCollection

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

References $arConcatCollection.

Referenced by concat().

+ Here is the caller graph for this function:

◆ getArConnector()

ActiveRecordList::getArConnector ( )
protected
Returns
arConnector

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

128 {
129 return arConnectorMap::get($this->getAR());
130 }
static get(ActiveRecord $ar)

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

Referenced by affectedRows().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getArHavingCollection()

ActiveRecordList::getArHavingCollection ( )
Returns
arHavingCollection

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

References $arHavingCollection.

◆ getArJoinCollection()

ActiveRecordList::getArJoinCollection ( )
Returns
arJoinCollection

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

References $arJoinCollection.

Referenced by join().

+ Here is the caller graph for this function:

◆ getArLimitCollection()

ActiveRecordList::getArLimitCollection ( )
Returns
arLimitCollection

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

References $arLimitCollection.

Referenced by limit().

+ Here is the caller graph for this function:

◆ getArOrderCollection()

ActiveRecordList::getArOrderCollection ( )
Returns
arOrderCollection

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

References $arOrderCollection.

Referenced by orderBy().

+ Here is the caller graph for this function:

◆ getArray()

ActiveRecordList::getArray (   $key = null,
  $values = null 
)
Parameters
string$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
array

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

588 {
589 $this->load();
590
591 return $this->buildArray($key, $values);
592 }

References buildArray().

+ Here is the call graph for this function:

◆ getArSelectCollection()

ActiveRecordList::getArSelectCollection ( )
Returns
arSelectCollection

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

References $arSelectCollection.

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

+ Here is the caller graph for this function:

◆ getArWhereCollection()

ActiveRecordList::getArWhereCollection ( )
Returns
arWhereCollection

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

References $arWhereCollection.

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

+ Here is the caller graph for this function:

◆ getClass()

ActiveRecordList::getClass ( )
Returns
string

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

525 {
526 return $this->class;
527 }

References $class.

◆ getCollection()

ActiveRecordList::getCollection ( )
Returns
$this

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

507 {
508 return $this;
509 }

◆ getDateFormat()

ActiveRecordList::getDateFormat ( )
Returns
null

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

746 {
747 return $this->date_format;
748 }

References $date_format.

◆ getDebug()

ActiveRecordList::getDebug ( )
Returns
boolean

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

728 {
729 return $this->debug;
730 }

References $debug.

◆ getFirstFromLastQuery()

ActiveRecordList::getFirstFromLastQuery ( )
Returns
ActiveRecord
Deprecated:

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

546 {
547 $this->loadLastQuery();
548
549 $result = array_values($this->result);
550
551 return array_shift($result);
552 }

References $result, and loadLastQuery().

+ Here is the call graph for this function:

◆ getLastQuery()

static ActiveRecordList::getLastQuery ( )
static
Returns
string

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

764 {
765 return self::$last_query;
766 }

References $last_query.

◆ getRaw()

ActiveRecordList::getRaw ( )
Returns
boolean

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

800 {
801 return $this->raw;
802 }

References $raw.

◆ hasSets()

ActiveRecordList::hasSets ( )
Returns
bool

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

480 {
481 return ($this->affectedRows() > 0) ? true : false;
482 }

References affectedRows().

+ Here is the call graph for this function:

◆ innerjoin()

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

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

325 {
326 return $this->join(arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
327 }
join($type, $tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
const TYPE_INNER

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:

◆ innerjoinAR()

ActiveRecordList::innerjoinAR ( ActiveRecord  $ar,
  $on_this,
  $on_external,
  $fields = array( '*' ),
  $operator = '=',
  $both_external = false 
)
Parameters
ActiveRecord$ar
$on_this
$on_external
array$fields
string$operator
bool$both_external
Returns
$this

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

242 {
243 return $this->innerjoin($ar->getConnectorContainerName(), $on_this, $on_external, $fields, $operator, $both_external);
244 }
innerjoin($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)

References ActiveRecord\getConnectorContainerName(), and innerjoin().

+ Here is the call graph for this function:

◆ join()

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

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

261 {
262 if (!$this->getAR()->getArFieldList()->isField($on_this) and !$both_external) {
264 }
265 $full_names = false;
266 foreach ($fields as $field_name) {
267 if ($this->getAR()->getArFieldList()->isField($field_name)) {
268 $full_names = true;
269 break;
270 }
271 }
272
273 $arJoin = new arJoin();
274 $arJoin->setType($type);
275 $arJoin->setFullNames($full_names);
276 $arJoin->setTableName($tablename);
277 $arJoin->setOnFirstField($on_this);
278 $arJoin->setOnSecondField($on_external);
279 $arJoin->setOperator($operator);
280 $arJoin->setFields($fields);
281 $arJoin->setBothExternal($both_external);
282 $this->getArJoinCollection()->add($arJoin);
283
284 foreach ($fields as $field) {
285 $arSelect = new arSelect();
286 $arSelect->setTableName($arJoin->getTableNameAs());
287 $arSelect->setFieldName($field);
288 $arSelect->setAs($arJoin->getTableNameAs() . '_' . $field);
289 $this->getArSelectCollection()->add($arSelect);
290 }
291
292 return $this;
293 }
Class arException.
const LIST_JOIN_ON_WRONG_FIELD
Class arJoin.
$type

References $type, 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:

◆ last()

ActiveRecordList::last ( )
Returns
ActiveRecord

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

572 {
573 $this->load();
574
575 $result = array_values($this->result);
576
577 return array_pop($result);
578 }

References $result.

◆ leftjoin()

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

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

308 {
309 return $this->join(arJoin::TYPE_LEFT, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
310 }
const TYPE_LEFT

References join(), and arJoin\TYPE_LEFT.

+ Here is the call graph for this function:

◆ limit()

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

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

220 {
221 $arLimit = new arLimit();
222 $arLimit->setStart($start);
223 $arLimit->setEnd($end);
224
225 $this->getArLimitCollection()->add($arLimit);
226
227 return $this;
228 }
Class arLimit.

References getArLimitCollection().

+ Here is the call graph for this function:

◆ loadLastQuery()

ActiveRecordList::loadLastQuery ( )
protected
Deprecated:

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

698 {
699 // $this->readFromDb(self::$last_query);
700 }

Referenced by getFirstFromLastQuery().

+ Here is the caller graph for this function:

◆ orderBy()

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

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

199 {
200 if (!$this->getAR()->getArFieldList()->isField($order_by)) {
201 // throw new arException(arException::LIST_ORDER_BY_WRONG_FIELD, $order_by); // Due to Bugfix with Joins
202 }
203 $arOrder = new arOrder();
204 $arOrder->setFieldname($order_by);
205 $arOrder->setDirection($order_direction);
206 $this->getArOrderCollection()->add($arOrder);
207
208 return $this;
209 }
Class arOrder.

References getAR(), and getArOrderCollection().

+ Here is the call graph for this function:

◆ raw()

ActiveRecordList::raw (   $set_raw = true)
Parameters
bool$set_raw
Returns
$this

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

469 {
470 $this->setRaw($set_raw);
471
472 return $this;
473 }

References setRaw().

Referenced by setRaw().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAddidtionalParameters()

ActiveRecordList::setAddidtionalParameters (   $addidtional_parameters)
Parameters
array$addidtional_parameters

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

773 {
774 $this->addidtional_parameters = $addidtional_parameters;
775 }

References $addidtional_parameters.

Referenced by additionalParams().

+ Here is the caller graph for this function:

◆ setAR()

ActiveRecordList::setAR (   $ar)
Parameters
ActiveRecord$ar

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

710 {
711 $this->ar = $ar;
712 }

References $ar.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setArHavingCollection()

ActiveRecordList::setArHavingCollection (   $arHavingCollection)
Parameters
arHavingCollection$arHavingCollection

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

416 {
418 }

References $arHavingCollection.

◆ setClass()

ActiveRecordList::setClass (   $class)
Parameters
string$class

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

516 {
517 $this->class = $class;
518 }

References $class.

◆ setDateFormat()

ActiveRecordList::setDateFormat (   $date_format)
Parameters
null$date_format

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

737 {
738 $this->date_format = $date_format;
739 }

References $date_format.

Referenced by dateFormat().

+ Here is the caller graph for this function:

◆ setLastQuery()

static ActiveRecordList::setLastQuery (   $last_query)
static
Parameters
string$last_query

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

755 {
756 self::$last_query = $last_query;
757 }

References $last_query.

◆ setRaw()

ActiveRecordList::setRaw (   $raw)
Parameters
boolean$raw

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

791 {
792 $this->raw = $raw;
793 }

References $raw, and raw().

Referenced by raw().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ where()

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

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

160 {
161 $this->loaded = false;
162 if (is_string($where)) {
163 $arWhere = new arWhere();
164 $arWhere->setType(arWhere::TYPE_STRING);
165 $arWhere->setStatement($where);
166 $this->getArWhereCollection()->add($arWhere);
167
168 return $this;
169 } elseif (is_array($where)) {
170 foreach ($where as $field_name => $value) {
171 $arWhere = new arWhere();
172 $arWhere->setFieldname($field_name);
173 $arWhere->setValue($value);
174 if ($operator) {
175 if (is_array($operator)) {
176 $arWhere->setOperator($operator[$field_name]);
177 } else {
178 $arWhere->setOperator($operator);
179 }
180 }
181 $this->getArWhereCollection()->add($arWhere);
182 }
183
184 return $this;
185 } else {
186 throw new Exception('Wrong where Statement, use strings or arrays');
187 }
188 }
Class arWhere.
const TYPE_STRING

References getArWhereCollection(), and arWhere\TYPE_STRING.

+ Here is the call graph for this function:

Field Documentation

◆ $addidtional_parameters

ActiveRecordList::$addidtional_parameters = array()
protected

◆ $ar

ActiveRecordList::$ar
protected

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

Referenced by __construct(), getAR(), and setAR().

◆ $arConcatCollection

ActiveRecordList::$arConcatCollection
protected

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

Referenced by getArConcatCollection().

◆ $arHavingCollection

ActiveRecordList::$arHavingCollection
protected

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

Referenced by getArHavingCollection(), and setArHavingCollection().

◆ $arJoinCollection

ActiveRecordList::$arJoinCollection
protected

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

Referenced by getArJoinCollection().

◆ $arLimitCollection

ActiveRecordList::$arLimitCollection
protected

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

Referenced by getArLimitCollection().

◆ $arOrderCollection

ActiveRecordList::$arOrderCollection
protected

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

Referenced by getArOrderCollection().

◆ $arSelectCollection

ActiveRecordList::$arSelectCollection
protected

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

Referenced by getArSelectCollection().

◆ $arWhereCollection

ActiveRecordList::$arWhereCollection
protected

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

Referenced by getArWhereCollection().

◆ $class

ActiveRecordList::$class = ''
protected

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

Referenced by getClass(), and setClass().

◆ $connector

ActiveRecordList::$connector
protected

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

Referenced by connector().

◆ $date_format

ActiveRecordList::$date_format = null
protected

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

Referenced by dateFormat(), getDateFormat(), and setDateFormat().

◆ $debug

ActiveRecordList::$debug = false
protected

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

Referenced by getDebug().

◆ $last_query

ActiveRecordList::$last_query
staticprotected

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

Referenced by getLastQuery(), and setLastQuery().

◆ $loaded

ActiveRecordList::$loaded = false
protected

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

◆ $raw

ActiveRecordList::$raw = false
protected

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

Referenced by getRaw(), and setRaw().

◆ $result

ActiveRecordList::$result = array()
protected

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

Referenced by first(), get(), getFirstFromLastQuery(), and last().

◆ $result_array

ActiveRecordList::$result_array = array()
protected

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

Referenced by buildArray().


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