PEAR | --DB_storage
It lets you add, delete and change rows using objects rather than SQL statements.
DB_storage __construct(
$table
$table, $keycolumn
$keycolumn, $dbh
&$dbh, [$validator
$validator = null])
void _DB_storage(
)
object a &create(
$data
$table,
&$data)
attribute &get(
string
$property)
void insert(
$newpk)
mixed remove(
)
void set(
$property,
$newvalue)
int setup(
$keyval
$keyval)
string toString(
)