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
No description
Returns primary key value.
Returns row signature (composition of primary keys)
Returns referenced row.
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
No description
No description
Details
at line 33
__construct(array $data, Selection $table)
No description
at line 44
setTable(Selection $table)
internal |
No description
at line 53
getTable()
internal |
No description
at line 59
__toString()
No description
at line 75
array
toArray()
No description
at line 87
getPrimary($need = TRUE)
Returns primary key value.
at line 124
getSignature($need = TRUE)
Returns row signature (composition of primary keys)
at line 136
ref($key, $throughColumn = NULL)
Returns referenced row.
at line 152
related($key, $throughColumn = NULL)
Returns referencing rows.
at line 169
bool
update($data)
Updates row.
at line 191
int
delete()
Deletes row.
at line 208
getIterator()
No description
at line 224
void
offsetSet($key, $value)
Stores value in column.
at line 235
string
offsetGet($key)
Returns value of column.
at line 246
bool
offsetExists($key)
Tests if column exists.
at line 257
void
offsetUnset($key)
Removes column from data.
at line 263
__set($key, $value)
No description
at line 269
__get($key)
No description
at line 290
__isset($key)
No description
at line 301
__unset($key)
No description
at line 307
protected
accessColumn($key, $selectColumn = TRUE)
No description
at line 317
protected
removeAccessColumn($key)
No description
at line 323
protected
getReference($table, $column)
No description