ActiveRow
class ActiveRow implements IteratorAggregate, IRow
Single row representation.
ActiveRow is based on the great library NotORM http://www.notorm.com written by Jakub Vrana.
Methods
No description
No description
Returns primary key value.
Returns row signature (composition of primary keys)
Returns referencing rows.
Updates row.
Deletes row.
No description
Stores value in column.
Returns value of column.
Tests if column exists.
Removes column from data.
No description
No description
No description
No description
No description
Details
at line 29
__construct(array $data, Selection $table)
No description
at line 39
setTable(Selection $table)
internal |
No description
at line 48
Selection
getTable()
internal |
No description
at line 54
__toString()
No description
at line 73
array
toArray()
No description
at line 85
mixed
getPrimary($throw = true)
Returns primary key value.
at line 122
string
getSignature($throw = true)
Returns row signature (composition of primary keys)
at line 134
IRow|null
ref($key, $throughColumn = null)
Returns referenced row.
at line 151
GroupedSelection
related($key, $throughColumn = null)
Returns referencing rows.
at line 167
bool
update($data)
Updates row.
at line 202
int
delete()
Deletes row.
at line 219
getIterator()
No description
at line 235
void
offsetSet($column, $value)
Stores value in column.
at line 246
mixed
offsetGet($column)
Returns value of column.
at line 257
bool
offsetExists($column)
Tests if column exists.
at line 268
void
offsetUnset($column)
Removes column from data.
at line 274
__set($column, $value)
No description
at line 285
ActiveRow|mixed
__get($key)
No description
at line 303
__isset($key)
No description
at line 320
__unset($key)
No description
at line 329
accessColumn($key, $selectColumn = true)
internal |
No description
at line 342
protected
removeAccessColumn($key)
No description