ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 99 of file class.ActiveRecordList.php.

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

99  {
100  $this->class = get_class($ar);
101  $this->setAR($ar);
102  $this->arWhereCollection = arWhereCollection::getInstance($this->getAR());
103  $this->arJoinCollection = arJoinCollection::getInstance($this->getAR());
104  $this->arLimitCollection = arLimitCollection::getInstance($this->getAR());
105  $this->arOrderCollection = arOrderCollection::getInstance($this->getAR());
106  $this->arConcatCollection = arConcatCollection::getInstance($this->getAR());
107  $this->arSelectCollection = arSelectCollection::getInstance($this->getAR());
108  $this->arHavingCollection = arHavingCollection::getInstance($this->getAR());
109 
110  $arSelect = new arSelect();
111  $arSelect->setTableName($ar->getConnectorContainerName());
112  $arSelect->setFieldName('*');
113  $this->getArSelectCollection()->add($arSelect);
114 // if ($ar->getArConnector() == NULL) {
115 // $this->connector = new arConnectorDB($this);
116 // } else {
117 // $this->connector = $ar->getArConnector();
118 // }
119  }
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 137 of file class.ActiveRecordList.php.

References setAddidtionalParameters().

137  {
138  $this->setAddidtionalParameters($additional_params);
139 
140  return $this;
141  }
setAddidtionalParameters($addidtional_parameters)
+ Here is the call graph for this function:

◆ affectedRows()

ActiveRecordList::affectedRows ( )
Returns
int

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

References getArConnector().

Referenced by count(), and hasSets().

463  {
464  return $this->getArConnector()->affectedRows($this);
465  }
+ 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 561 of file class.ActiveRecordList.php.

References $result_array, $row, array, and buildRow().

Referenced by getArray().

561  {
562  if ($key === NULL AND $values === NULL) {
563  return $this->result_array;
564  }
565  $array = array();
566  foreach ($this->result_array as $row) {
567  if ($key) {
568  if (!array_key_exists($key, $row)) {
569  throw new Exception("The attribute $key does not exist on this model.");
570  }
571  $array[$row[$key]] = $this->buildRow($row, $values);
572  } else {
573  $array[] = $this->buildRow($row, $values);
574  }
575  }
576 
577  return $array;
578  }
Create styles array
The data for the language used.
+ 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 587 of file class.ActiveRecordList.php.

References $records, $res, $row, array, date, getAddidtionalParameters(), getAR(), getArConnector(), getDateFormat(), and getRaw().

Referenced by buildArray().

587  {
588  if ($values === NULL) {
589  return $row;
590  } else {
591  $array = array();
592  if (!is_array($values)) {
593  return $row[$values];
594  }
595  foreach ($row as $key => $value) {
596  if (in_array($key, $values)) {
597  $array[$key] = $value;
598  }
599  }
600 
601  return $array;
602  }
603  }
Create styles array
The data for the language used.
+ 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 325 of file class.ActiveRecordList.php.

References getArConcatCollection().

325  {
326  $con = new arConcat();
327  $con->setAs($as);
328  $con->setFields($fields);
329  $this->getArConcatCollection()->add($con);
330 
331  return $this;
332  }
Class arConcat.
+ Here is the call graph for this function:

◆ connector()

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

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

References $connector.

433  {
434  $this->connector = $connector;
435 
436  return $this;
437  }
connector(arConnector $connector)

◆ count()

ActiveRecordList::count ( )
Returns
int

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

References affectedRows().

471  {
472  return $this->affectedRows();
473  }
+ 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 409 of file class.ActiveRecordList.php.

References $date_format, and setDateFormat().

409  :i:s') {
410  $this->loaded = false;
411  $this->setDateFormat($date_format);
412 
413  return $this;
414  }
+ Here is the call graph for this function:

◆ debug()

ActiveRecordList::debug ( )
Returns
$this

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

420  {
421  $this->loaded = false;
422  $this->debug = true;
423 
424  return $this;
425  }

◆ first()

ActiveRecordList::first ( )
Returns
ActiveRecord

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

524  {
525  $this->load();
526 
527  return array_shift(array_values($this->result));
528  }

◆ get()

ActiveRecordList::get ( )
Returns
array

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

References $result.

503  {
504  $this->load();
505 
506  return $this->result;
507  }

◆ getAddidtionalParameters()

ActiveRecordList::getAddidtionalParameters ( )
Returns
array

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

References $addidtional_parameters.

Referenced by buildRow().

731  {
733  }
+ Here is the caller graph for this function:

◆ getAR()

ActiveRecordList::getAR ( )
Returns
ActiveRecord

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

References $ar.

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

675  {
676  return $this->ar;
677  }
+ Here is the caller graph for this function:

◆ getArConcatCollection()

ActiveRecordList::getArConcatCollection ( )
Returns
arConcatCollection

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

References $arConcatCollection.

Referenced by arConnectorDB\affectedRows(), and concat().

373  {
375  }
+ Here is the caller graph for this function:

◆ getArConnector()

ActiveRecordList::getArConnector ( )
protected
Returns
arConnector

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

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

Referenced by affectedRows(), and buildRow().

125  {
126  return arConnectorMap::get($this->getAR());
127  }
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 388 of file class.ActiveRecordList.php.

References $arHavingCollection.

388  {
390  }

◆ getArJoinCollection()

ActiveRecordList::getArJoinCollection ( )
Returns
arJoinCollection

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

References $arJoinCollection.

Referenced by join().

349  {
351  }
+ Here is the caller graph for this function:

◆ getArLimitCollection()

ActiveRecordList::getArLimitCollection ( )
Returns
arLimitCollection

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

References $arLimitCollection.

Referenced by limit().

365  {
367  }
+ Here is the caller graph for this function:

◆ getArOrderCollection()

ActiveRecordList::getArOrderCollection ( )
Returns
arOrderCollection

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

References $arOrderCollection.

Referenced by orderBy().

357  {
359  }
+ 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 547 of file class.ActiveRecordList.php.

References buildArray().

547  {
548  $this->load();
549 
550  return $this->buildArray($key, $values);
551  }
+ Here is the call graph for this function:

◆ getArSelectCollection()

ActiveRecordList::getArSelectCollection ( )
Returns
arSelectCollection

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

References $arSelectCollection.

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

381  {
383  }
+ Here is the caller graph for this function:

◆ getArWhereCollection()

ActiveRecordList::getArWhereCollection ( )
Returns
arWhereCollection

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

References $arWhereCollection.

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

341  {
343  }
+ Here is the caller graph for this function:

◆ getClass()

ActiveRecordList::getClass ( )
Returns
string

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

References $class.

495  {
496  return $this->class;
497  }

◆ getCollection()

ActiveRecordList::getCollection ( )
Returns
$this

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

479  {
480  return $this;
481  }

◆ getDateFormat()

ActiveRecordList::getDateFormat ( )
Returns
null

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

References $date_format.

Referenced by buildRow().

699  {
700  return $this->date_format;
701  }
+ Here is the caller graph for this function:

◆ getDebug()

ActiveRecordList::getDebug ( )
Returns
boolean

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

References $debug.

683  {
684  return $this->debug;
685  }

◆ getFirstFromLastQuery()

ActiveRecordList::getFirstFromLastQuery ( )
Returns
ActiveRecord
Deprecated:

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

References loadLastQuery().

514  {
515  $this->loadLastQuery();
516 
517  return array_shift(array_values($this->result));
518  }
+ Here is the call graph for this function:

◆ getLastQuery()

static ActiveRecordList::getLastQuery ( )
static
Returns
string

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

715  {
716  return self::$last_query;
717  }

◆ getRaw()

ActiveRecordList::getRaw ( )
Returns
boolean

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

References $raw.

Referenced by buildRow().

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

◆ hasSets()

ActiveRecordList::hasSets ( )
Returns
bool

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

References affectedRows().

455  {
456  return ($this->affectedRows() > 0) ? true : false;
457  }
+ 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 314 of file class.ActiveRecordList.php.

References join(), and arJoin\TYPE_INNER.

Referenced by innerjoinAR().

314  {
315  return $this->join(arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
316  }
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 234 of file class.ActiveRecordList.php.

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

234  {
235  return $this->innerjoin($ar->getConnectorContainerName(), $on_this, $on_external, $fields, $operator, $both_external);
236  }
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 252 of file class.ActiveRecordList.php.

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

Referenced by innerjoin(), and leftjoin().

252  {
253  if (!$this->getAR()->getArFieldList()->isField($on_this) AND !$both_external) {
255  }
256  $full_names = false;
257  foreach ($fields as $field_name) {
258  if ($this->getAR()->getArFieldList()->isField($field_name)) {
259  $full_names = true;
260  break;
261  }
262  }
263 
264  $arJoin = new arJoin();
265  $arJoin->setType($type);
266  $arJoin->setFullNames($full_names);
267  $arJoin->setTableName($tablename);
268  $arJoin->setOnFirstField($on_this);
269  $arJoin->setOnSecondField($on_external);
270  $arJoin->setOperator($operator);
271  $arJoin->setFields($fields);
272  $arJoin->setBothExternal($both_external);
273  $this->getArJoinCollection()->add($arJoin);
274 
275  foreach ($fields as $field) {
276  $arSelect = new arSelect();
277  $arSelect->setTableName($arJoin->getTableNameAs());
278  $arSelect->setFieldName($field);
279  $arSelect->setAs($arJoin->getTableNameAs() . '_' . $field);
280  $this->getArSelectCollection()->add($arSelect);
281  }
282 
283  return $this;
284  }
Class arJoin.
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 534 of file class.ActiveRecordList.php.

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

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

References join(), and arJoin\TYPE_LEFT.

298  {
299  return $this->join(arJoin::TYPE_LEFT, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
300  }
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 213 of file class.ActiveRecordList.php.

References $start, and getArLimitCollection().

213  {
214  $arLimit = new arLimit();
215  $arLimit->setStart($start);
216  $arLimit->setEnd($end);
217 
218  $this->getArLimitCollection()->add($arLimit);
219 
220  return $this;
221  }
Class arLimit.
+ Here is the call graph for this function:

◆ loadLastQuery()

ActiveRecordList::loadLastQuery ( )
protected
Deprecated:

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

Referenced by getFirstFromLastQuery().

656  {
657  // $this->readFromDb(self::$last_query);
658  }
+ 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 193 of file class.ActiveRecordList.php.

References getAR(), and getArOrderCollection().

193  {
194  if (!$this->getAR()->getArFieldList()->isField($order_by)) {
195  // throw new arException(arException::LIST_ORDER_BY_WRONG_FIELD, $order_by); // Due to Bugfix with Joins
196  }
197  $arOrder = new arOrder();
198  $arOrder->setFieldname($order_by);
199  $arOrder->setDirection($order_direction);
200  $this->getArOrderCollection()->add($arOrder);
201 
202  return $this;
203  }
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 445 of file class.ActiveRecordList.php.

References setRaw().

Referenced by setRaw().

445  {
446  $this->setRaw($set_raw);
447 
448  return $this;
449  }
+ 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 723 of file class.ActiveRecordList.php.

References $addidtional_parameters.

Referenced by additionalParams().

723  {
724  $this->addidtional_parameters = $addidtional_parameters;
725  }
+ Here is the caller graph for this function:

◆ setAR()

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

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

References $ar.

Referenced by __construct().

667  {
668  $this->ar = $ar;
669  }
+ Here is the caller graph for this function:

◆ setArHavingCollection()

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

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

References $arHavingCollection.

396  {
398  }
Class arWhereCollection.

◆ setClass()

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

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

References $class.

487  {
488  $this->class = $class;
489  }

◆ setDateFormat()

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

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

References $date_format.

Referenced by dateFormat().

691  {
692  $this->date_format = $date_format;
693  }
+ Here is the caller graph for this function:

◆ setLastQuery()

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

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

References $last_query.

707  {
708  self::$last_query = $last_query;
709  }

◆ setRaw()

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

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

References $raw, and raw().

Referenced by raw().

739  {
740  $this->raw = $raw;
741  }
+ 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 155 of file class.ActiveRecordList.php.

References getArWhereCollection(), and arWhere\TYPE_STRING.

155  {
156  $this->loaded = false;
157  if (is_string($where)) {
158  $arWhere = new arWhere();
159  $arWhere->setType(arWhere::TYPE_STRING);
160  $arWhere->setStatement($where);
161  $this->getArWhereCollection()->add($arWhere);
162 
163  return $this;
164  } elseif (is_array($where)) {
165  foreach ($where as $field_name => $value) {
166  $arWhere = new arWhere();
167  $arWhere->setFieldname($field_name);
168  $arWhere->setValue($value);
169  if ($operator) {
170  if (is_array($operator)) {
171  $arWhere->setOperator($operator[$field_name]);
172  } else {
173  $arWhere->setOperator($operator);
174  }
175  }
176  $this->getArWhereCollection()->add($arWhere);
177  }
178 
179  return $this;
180  } else {
181  throw new Exception('Wrong where Statement, use strings or arrays');
182  }
183  }
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 89 of file class.ActiveRecordList.php.

Referenced by getAR(), and setAR().

◆ $arConcatCollection

ActiveRecordList::$arConcatCollection
protected

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

Referenced by getArConcatCollection().

◆ $arHavingCollection

ActiveRecordList::$arHavingCollection
protected

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

Referenced by getArHavingCollection(), and setArHavingCollection().

◆ $arJoinCollection

ActiveRecordList::$arJoinCollection
protected

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

Referenced by getArJoinCollection().

◆ $arLimitCollection

ActiveRecordList::$arLimitCollection
protected

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

Referenced by getArLimitCollection().

◆ $arOrderCollection

ActiveRecordList::$arOrderCollection
protected

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

Referenced by getArOrderCollection().

◆ $arSelectCollection

ActiveRecordList::$arSelectCollection
protected

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

Referenced by getArSelectCollection().

◆ $arWhereCollection

ActiveRecordList::$arWhereCollection
protected

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

Referenced by getArWhereCollection().

◆ $class

ActiveRecordList::$class = ''
protected

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

Referenced by getClass(), and setClass().

◆ $connector

ActiveRecordList::$connector
protected

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

Referenced by connector().

◆ $date_format

ActiveRecordList::$date_format = NULL
protected

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

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

◆ $debug

ActiveRecordList::$debug = false
protected

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

Referenced by getDebug().

◆ $last_query

ActiveRecordList::$last_query
staticprotected

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

Referenced by setLastQuery().

◆ $loaded

ActiveRecordList::$loaded = false
protected

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

◆ $raw

ActiveRecordList::$raw = false
protected

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

Referenced by getRaw(), and setRaw().

◆ $result

ActiveRecordList::$result = array()
protected

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

Referenced by get().

◆ $result_array

ActiveRecordList::$result_array = array()
protected

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

Referenced by buildArray().


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