Class Row
Representation of a row in a result.
-
Neevo\Row
implements
ArrayAccess,
Countable,
IteratorAggregate
Namespace: Neevo
Author:
Smasty
Located at Neevo/Row.php
Methods summary
public
|
#
__construct( array $data, Neevo\Result $result )
Create a row instance.
Parameters
|
public
integer
|
#
update( )
Update corresponding database row if available.
Update corresponding database row if available.
Returns
integer Number of affected rows.
Throws
|
public
integer
|
#
delete( )
Delete corresponding database row if available.
Delete corresponding database row if available.
Returns
integer Number of affected rows.
Throws
|
public
array
|
#
toArray( )
Return values as an array.
Return values as an array.
Returns
array
|
public
boolean
|
#
isFrozen( )
If row is not able to update it's state.
If row is not able to update it's state.
Returns
boolean
|
public
|
|
public
ArrayIterator
|
#
getIterator( )
Returns
Implementation of
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
offsetSet( $offset, $value )
|
public
|
#
offsetExists( $offset )
|
public
|
|
Properties summary
protected
boolean
|
$frozen |
|
|
protected
string
|
$primary |
|
|
protected
array
|
$data |
array() |
|
protected
array
|
$modified |
array() |
|
protected
string
|
$table |
|
|
protected
Neevo\Connection
|
$connection |
|
|