ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 ()
 
 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
 
 $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 19 of file class.ActiveRecordList.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

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

131 {
132 $this->setAddidtionalParameters($additional_params);
133
134 return $this;
135 }
setAddidtionalParameters($addidtional_parameters)

References setAddidtionalParameters().

+ Here is the call graph for this function:

◆ affectedRows()

ActiveRecordList::affectedRows ( )
Returns
int

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

444 {
445 return $this->getArConnector()->affectedRows($this);
446 }

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

542 {
543 if ($key === NULL AND $values === NULL) {
544 return $this->result_array;
545 }
546 $array = array();
547 foreach ($this->result_array as $row) {
548 if ($key) {
549 if (!array_key_exists($key, $row)) {
550 throw new Exception("The attribute $key does not exist on this model.");
551 }
552 $array[$row[$key]] = $this->buildRow($row, $values);
553 } else {
554 $array[] = $this->buildRow($row, $values);
555 }
556 }
557
558 return $array;
559 }

References $result_array, $row, 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 568 of file class.ActiveRecordList.php.

568 {
569 if ($values === NULL) {
570 return $row;
571 } else {
572 $array = array();
573 if (!is_array($values)) {
574 return $row[$values];
575 }
576 foreach ($row as $key => $value) {
577 if (in_array($key, $values)) {
578 $array[$key] = $value;
579 }
580 }
581
582 return $array;
583 }
584 }

References $row.

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

319 {
320 $con = new arConcat();
321 $con->setAs($as);
322 $con->setFields($fields);
323 $this->getArConcatCollection()->add($con);
324
325 return $this;
326 }
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 414 of file class.ActiveRecordList.php.

414 {
415 $this->connector = $connector;
416
417 return $this;
418 }
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 452 of file class.ActiveRecordList.php.

452 {
453 return $this->affectedRows();
454 }

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

390 :i:s') {
391 $this->loaded = false;
392 $this->setDateFormat($date_format);
393
394 return $this;
395 }

References $date_format, and setDateFormat().

+ Here is the call graph for this function:

◆ debug()

ActiveRecordList::debug ( )
Returns
$this

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

401 {
402 $this->loaded = false;
403 $this->debug = true;
404
405 return $this;
406 }

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

505 {
506 $this->load();
507
508 return array_shift(array_values($this->result));
509 }

◆ get()

ActiveRecordList::get ( )
Returns
array

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

484 {
485 $this->load();
486
487 return $this->result;
488 }

References $result.

◆ getAddidtionalParameters()

ActiveRecordList::getAddidtionalParameters ( )
Returns
array

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

References $addidtional_parameters.

◆ getAR()

ActiveRecordList::getAR ( )
Returns
ActiveRecord

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

656 {
657 return $this->ar;
658 }

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

References $arConcatCollection.

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

+ Here is the caller graph for this function:

◆ getArConnector()

ActiveRecordList::getArConnector ( )
protected
Returns
arConnector

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

119 {
120 return arConnectorMap::get($this->getAR());
121 }
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:

◆ getArJoinCollection()

ActiveRecordList::getArJoinCollection ( )
Returns
arJoinCollection

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

References $arJoinCollection.

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

+ Here is the caller graph for this function:

◆ getArLimitCollection()

ActiveRecordList::getArLimitCollection ( )
Returns
arLimitCollection

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

References $arLimitCollection.

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

+ Here is the caller graph for this function:

◆ getArOrderCollection()

ActiveRecordList::getArOrderCollection ( )
Returns
arOrderCollection

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

References $arOrderCollection.

Referenced by arConnectorDB\buildQuery(), and 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 528 of file class.ActiveRecordList.php.

528 {
529 $this->load();
530
531 return $this->buildArray($key, $values);
532 }

References buildArray().

+ Here is the call graph for this function:

◆ getArSelectCollection()

ActiveRecordList::getArSelectCollection ( )
Returns
arSelectCollection

Definition at line 375 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 335 of file class.ActiveRecordList.php.

References $arWhereCollection.

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

+ Here is the caller graph for this function:

◆ getClass()

ActiveRecordList::getClass ( )
Returns
string

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

476 {
477 return $this->class;
478 }

References $class.

◆ getCollection()

ActiveRecordList::getCollection ( )
Returns
$this

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

460 {
461 return $this;
462 }

◆ getDateFormat()

ActiveRecordList::getDateFormat ( )
Returns
null

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

680 {
681 return $this->date_format;
682 }

References $date_format.

◆ getDebug()

ActiveRecordList::getDebug ( )
Returns
boolean

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

664 {
665 return $this->debug;
666 }

References $debug.

Referenced by arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ getFirstFromLastQuery()

ActiveRecordList::getFirstFromLastQuery ( )
Returns
ActiveRecord
Deprecated:

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

495 {
496 $this->loadLastQuery();
497
498 return array_shift(array_values($this->result));
499 }

References loadLastQuery().

+ Here is the call graph for this function:

◆ getLastQuery()

static ActiveRecordList::getLastQuery ( )
static
Returns
string

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

696 {
697 return self::$last_query;
698 }

References $last_query.

◆ getRaw()

ActiveRecordList::getRaw ( )
Returns
boolean

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

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

References $raw.

◆ hasSets()

ActiveRecordList::hasSets ( )
Returns
bool

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

436 {
437 return ($this->affectedRows() > 0) ? true : false;
438 }

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

308 {
309 return $this->join(arJoin::TYPE_INNER, $tablename, $on_this, $on_external, $fields, $operator, $both_external);
310 }
join($type=arJoin::TYPE_INNER, $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 228 of file class.ActiveRecordList.php.

228 {
229 return $this->innerjoin($ar->getConnectorContainerName(), $on_this, $on_external, $fields, $operator, $both_external);
230 }
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 = 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 246 of file class.ActiveRecordList.php.

246 {
247 if (!$this->getAR()->getArFieldList()->isField($on_this) AND !$both_external) {
249 }
250 $full_names = false;
251 foreach ($fields as $field_name) {
252 if ($this->getAR()->getArFieldList()->isField($field_name)) {
253 $full_names = true;
254 break;
255 }
256 }
257
258 $arJoin = new arJoin();
259 $arJoin->setType($type);
260 $arJoin->setFullNames($full_names);
261 $arJoin->setTableName($tablename);
262 $arJoin->setOnFirstField($on_this);
263 $arJoin->setOnSecondField($on_external);
264 $arJoin->setOperator($operator);
265 $arJoin->setFields($fields);
266 $arJoin->setBothExternal($both_external);
267 $this->getArJoinCollection()->add($arJoin);
268
269 foreach ($fields as $field) {
270 $arSelect = new arSelect();
271 $arSelect->setTableName($arJoin->getTableNameAs());
272 $arSelect->setFieldName($field);
273 $arSelect->setAs($arJoin->getTableNameAs() . '_' . $field);
274 $this->getArSelectCollection()->add($arSelect);
275 }
276
277 return $this;
278 }
Class arException.
const LIST_JOIN_ON_WRONG_FIELD
Class arJoin.

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

515 {
516 $this->load();
517
518 return array_pop(array_values($this->result));
519 }

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

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

207 {
208 $arLimit = new arLimit();
209 $arLimit->setStart($start);
210 $arLimit->setEnd($end);
211
212 $this->getArLimitCollection()->add($arLimit);
213
214 return $this;
215 }
Class arLimit.

References getArLimitCollection().

+ Here is the call graph for this function:

◆ loadLastQuery()

ActiveRecordList::loadLastQuery ( )
protected
Deprecated:

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

637 {
638 // $this->readFromDb(self::$last_query);
639 }

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

187 {
188 if (!$this->getAR()->getArFieldList()->isField($order_by)) {
189 // throw new arException(arException::LIST_ORDER_BY_WRONG_FIELD, $order_by); // Due to Bugfix with Joins
190 }
191 $arOrder = new arOrder();
192 $arOrder->setFieldname($order_by);
193 $arOrder->setDirection($order_direction);
194 $this->getArOrderCollection()->add($arOrder);
195
196 return $this;
197 }
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 426 of file class.ActiveRecordList.php.

426 {
427 $this->setRaw($set_raw);
428
429 return $this;
430 }

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

704 {
705 $this->addidtional_parameters = $addidtional_parameters;
706 }

References $addidtional_parameters.

Referenced by additionalParams().

+ Here is the caller graph for this function:

◆ setAR()

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

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

648 {
649 $this->ar = $ar;
650 }

References $ar.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setClass()

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

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

468 {
469 $this->class = $class;
470 }

References $class.

◆ setDateFormat()

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

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

672 {
673 $this->date_format = $date_format;
674 }

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

688 {
689 self::$last_query = $last_query;
690 }

References $last_query.

Referenced by arConnectorDB\buildQuery().

+ Here is the caller graph for this function:

◆ setRaw()

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

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

720 {
721 $this->raw = $raw;
722 }

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

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

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

◆ $arConcatCollection

ActiveRecordList::$arConcatCollection
protected

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

Referenced by getArConcatCollection().

◆ $arJoinCollection

ActiveRecordList::$arJoinCollection
protected

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

Referenced by getArJoinCollection().

◆ $arLimitCollection

ActiveRecordList::$arLimitCollection
protected

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

Referenced by getArLimitCollection().

◆ $arOrderCollection

ActiveRecordList::$arOrderCollection
protected

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

Referenced by getArOrderCollection().

◆ $arSelectCollection

ActiveRecordList::$arSelectCollection
protected

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

Referenced by getArSelectCollection().

◆ $arWhereCollection

ActiveRecordList::$arWhereCollection
protected

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

Referenced by getArWhereCollection().

◆ $class

ActiveRecordList::$class = ''
protected

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

Referenced by getClass(), and setClass().

◆ $connector

ActiveRecordList::$connector
protected

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

Referenced by connector().

◆ $date_format

ActiveRecordList::$date_format = NULL
protected

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

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

◆ $debug

ActiveRecordList::$debug = false
protected

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

Referenced by getDebug().

◆ $last_query

ActiveRecordList::$last_query
staticprotected

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

Referenced by getLastQuery(), and setLastQuery().

◆ $loaded

ActiveRecordList::$loaded = false
protected

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

◆ $raw

ActiveRecordList::$raw = false
protected

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

Referenced by getRaw(), and setRaw().

◆ $result

ActiveRecordList::$result = array()
protected

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

Referenced by get().

◆ $result_array

ActiveRecordList::$result_array = array()
protected

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

Referenced by buildArray().


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