ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ActiveRecordList Class Reference

Class ActiveRecordList. More...

+ Inheritance diagram for ActiveRecordList:
+ 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=arJoin::TYPE_INNER, $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

Constructor & Destructor Documentation

◆ __construct()

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

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

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

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 arWhereCollection.
Class arWhereCollection.
Class arSelect.
Class arConcatCollection.
Class arLimitCollection.
Class arJoinCollection.
Class arOrderCollection.
Class arSelectCollection.
+ 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.

References setAddidtionalParameters().

141  {
142  $this->setAddidtionalParameters($additional_params);
143 
144  return $this;
145  }
setAddidtionalParameters($addidtional_parameters)
+ Here is the call graph for this function:

◆ affectedRows()

ActiveRecordList::affectedRows ( )
Returns
int

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

References getArConnector().

Referenced by count(), and hasSets().

489  {
490  return $this->getArConnector()->affectedRows($this);
491  }
+ 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.

References $key, $result_array, $row, $values, and buildRow().

Referenced by getArray().

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  }
$values
$row
$key
Definition: croninfo.php:18
+ 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.

References $key, $records, $res, $row, $values, getAddidtionalParameters(), getAR(), getArConnector(), getDateFormat(), and getRaw().

Referenced by buildArray().

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  }
$values
$row
$key
Definition: croninfo.php:18
+ Here is the call graph for this function:
+ 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.

References $as, and getArConcatCollection().

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.
$as
+ 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.

References $connector.

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

◆ count()

ActiveRecordList::count ( )
Returns
int

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

References affectedRows().

498  {
499  return $this->affectedRows();
500  }
+ 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.

References $date_format, and setDateFormat().

429  :i:s')
430  {
431  $this->loaded = false;
432  $this->setDateFormat($date_format);
433 
434  return $this;
435  }
+ 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  }

◆ first()

ActiveRecordList::first ( )
Returns
ActiveRecord

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

References $result.

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

◆ get()

ActiveRecordList::get ( )
Returns
array

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

References $result.

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

◆ getAddidtionalParameters()

ActiveRecordList::getAddidtionalParameters ( )
Returns
array

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

References $addidtional_parameters.

Referenced by buildRow().

782  {
784  }
+ Here is the caller graph for this function:

◆ getAR()

ActiveRecordList::getAR ( )
Returns
ActiveRecord

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

References $ar.

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

719  {
720  return $this->ar;
721  }
+ 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().

390  {
392  }
+ Here is the caller graph for this function:

◆ getArConnector()

ActiveRecordList::getArConnector ( )
protected
Returns
arConnector

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

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

Referenced by affectedRows(), and buildRow().

128  {
129  return arConnectorMap::get($this->getAR());
130  }
static get(ActiveRecord $ar)
+ 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.

407  {
409  }

◆ getArJoinCollection()

ActiveRecordList::getArJoinCollection ( )
Returns
arJoinCollection

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

References $arJoinCollection.

Referenced by join().

363  {
365  }
+ 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().

381  {
383  }
+ 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().

372  {
374  }
+ 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.

References $key, $values, and buildArray().

588  {
589  $this->load();
590 
591  return $this->buildArray($key, $values);
592  }
$values
$key
Definition: croninfo.php:18
+ 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().

399  {
401  }
+ 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().

354  {
356  }
+ Here is the caller graph for this function:

◆ getClass()

ActiveRecordList::getClass ( )
Returns
string

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

References $class.

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

◆ 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.

References $date_format.

Referenced by buildRow().

746  {
747  return $this->date_format;
748  }
+ Here is the caller graph for this function:

◆ getDebug()

ActiveRecordList::getDebug ( )
Returns
boolean

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

References $debug.

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

◆ getFirstFromLastQuery()

ActiveRecordList::getFirstFromLastQuery ( )
Returns
ActiveRecord
Deprecated:

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

References $result, and loadLastQuery().

546  {
547  $this->loadLastQuery();
548 
549  $result = array_values($this->result);
550 
551  return array_shift($result);
552  }
+ 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  }

◆ getRaw()

ActiveRecordList::getRaw ( )
Returns
boolean

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

References $raw.

Referenced by buildRow().

800  {
801  return $this->raw;
802  }
+ Here is the caller graph for this function:

◆ hasSets()

ActiveRecordList::hasSets ( )
Returns
bool

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

References affectedRows().

480  {
481  return ($this->affectedRows() > 0) ? true : false;
482  }
+ 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.

References join(), and arJoin\TYPE_INNER.

Referenced by innerjoinAR().

325  {
326  return $this->join(arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
327  }
join($type=arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
const TYPE_INNER
+ 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.

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

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)
+ Here is the call graph for this function:

◆ join()

ActiveRecordList::join (   $type = arJoin::TYPE_INNER,
  $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.

References $type, getAR(), getArJoinCollection(), getArSelectCollection(), and arException\LIST_JOIN_ON_WRONG_FIELD.

Referenced by innerjoin(), and leftjoin().

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 arJoin.
$type
Class arSelect.
Class arException.
const LIST_JOIN_ON_WRONG_FIELD
+ 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.

References $result.

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

◆ 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.

References join(), and arJoin\TYPE_LEFT.

308  {
309  return $this->join(arJoin::TYPE_LEFT, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
310  }
const TYPE_LEFT
join($type=arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
+ 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.

References $end, $start, and getArLimitCollection().

220  {
221  $arLimit = new arLimit();
222  $arLimit->setStart($start);
223  $arLimit->setEnd($end);
224 
225  $this->getArLimitCollection()->add($arLimit);
226 
227  return $this;
228  }
$start
Definition: bench.php:8
Class arLimit.
+ Here is the call graph for this function:

◆ loadLastQuery()

ActiveRecordList::loadLastQuery ( )
protected
Deprecated:

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

Referenced by getFirstFromLastQuery().

698  {
699  // $this->readFromDb(self::$last_query);
700  }
+ 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.

References getAR(), and getArOrderCollection().

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.
+ 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.

References setRaw().

Referenced by setRaw().

469  {
470  $this->setRaw($set_raw);
471 
472  return $this;
473  }
+ 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.

References $addidtional_parameters.

Referenced by additionalParams().

773  {
774  $this->addidtional_parameters = $addidtional_parameters;
775  }
+ Here is the caller graph for this function:

◆ setAR()

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

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

References $ar.

Referenced by __construct().

710  {
711  $this->ar = $ar;
712  }
+ Here is the caller graph for this function:

◆ setArHavingCollection()

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

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

References $arHavingCollection.

416  {
418  }
Class arWhereCollection.

◆ setClass()

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

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

References $class.

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

◆ setDateFormat()

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

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

References $date_format.

Referenced by dateFormat().

737  {
738  $this->date_format = $date_format;
739  }
+ 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.

References $last_query.

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

◆ setRaw()

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

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

References $raw, and raw().

Referenced by raw().

791  {
792  $this->raw = $raw;
793  }
+ 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.

References getArWhereCollection(), and arWhere\TYPE_STRING.

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
+ 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 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 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: