Class RecordAdapter
Handles record-like operations for a database.
The internal value is an hash of values
States: NEW, CLEAN, MODIFIED:{DELETED, DIRTY}
Transactions: CREATED -> CLEAN CREATED -> DIRTY, when the key has been set and does not exist in arr CLEAN -> DIRTY -> DELETED CLEAN -> DELETED DIRTY -> CLEAN
- Nethgui\Adapter\RecordAdapter implements Nethgui\Adapter\AdapterInterface, ArrayAccess, IteratorAggregate
Direct known subclasses
Nethgui\Test\Unit\Nethgui\Adapter\RecordAdapterTester
Namespace: Nethgui\Adapter
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Adapter/RecordAdapter.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Adapter/RecordAdapter.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
bool;
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
integer |
CREATED
|
#
0
|
integer |
CLEAN
|
#
1
|
integer |
DIRTY
|
#
2
|
integer |
DELETED
|
#
3
|
protected
ArrayAccess
|
$arr
The records container |