Class TableSelection
Filtered table representation. Selection is based on the great library NotORM http://www.notorm.com written by Jakub Vrana.
- Object
-
TableSelection implements Iterator, ArrayAccess, Countable
Direct known subclasses
GroupedTableSelection
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
string
|
|
protected
|
|
protected
null
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
|
#
getReferencedTable( string $table, string $column, boolean $checkReferenceNewKeys = FALSE )
Returns referenced row. |
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
null
|
|
public
|
|
public
boolean
|
|
public
null
|
|
public
|
|
public
array
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
protected
|
$connection |
|
|
protected
string
|
$name |
|
#
table name |
protected
string
|
$primary |
|
#
primary key field name |
protected
array
|
$rows |
|
#
of [primary key => TableRow] read from database |
protected
array
|
$data |
|
#
of [primary key => TableRow] modifiable |
protected
array
|
$select | array() |
#
of column to select |
protected
array
|
$where | array() |
#
of where conditions |
protected
array
|
$conditions | array() |
#
of where conditions for caching |
protected
array
|
$parameters | array() |
#
of parameters passed to where conditions |
protected
array
|
$order | array() |
#
or columns to order by |
protected
integer
|
$limit | NULL |
#
number of rows to fetch |
protected
integer
|
$offset | NULL |
#
first row to fetch |
protected
string
|
$group | '' |
#
columns to grouping |
protected
string
|
$having | '' |
#
grouping condition |
protected
boolean
|
$checkReferenceNewKeys | FALSE |
#
recheck referencing keys |
protected
array
|
$referenced | array() |
#
of referenced TableSelection |
protected
array
|
$referencing | array() |
#
of [sql+parameters => [column => [key => TableRow]]] used by GroupedTableSelection |
protected
array
|
$aggregation | array() |
#
of [conditions => [key => TableRow]] used by GroupedTableSelection |
protected
array
|
$accessed |
|
#
of touched columns |
protected
array
|
$prevAccessed |
|
#
of earlier touched columns |
protected
array
|
$keys | array() |
#
of primary key values |
protected
string
|
$delimitedName |
|
|
protected
string
|
$delimitedPrimary |
|