DB_storageProvides an object interface to a table row
It lets you add, delete and change rows using objects rather than SQL statements.
Located in /web/lib/external/pear-db/DB/storage.php (line 44)
PEAR | --DB_storage
DB_storage
DB_storage
($table $table, $keycolumn $keycolumn, $dbh &$dbh, [$validator $validator = null])
mixed
$_changes
= array() (line 66)
an assoc with the names of the properties in this object that
mixed
$_dbh
= null (line 58)
DB connection handle used for all transactions
mixed
$_keycolumn
= null (line 55)
which column(s) in the table contains primary keys, can be a
mixed
$_properties
= array() (line 62)
an assoc with the names of database fields stored as properties
mixed
$_readonly
= false (line 71)
flag that decides if data in this object can be changed.
mixed
$_table
= null (line 50)
the name of the table (or view, if the backend database supports
mixed
$_validator
= null (line 76)
function or method that implements a validator for fields that
Constructor
Static method used to create new DB storage objects.
Fetch an attribute value.
Create a new (empty) row in the configured table for this object.
Method used to initialize a DB_storage object from the configured table.
Destructor, calls DB_storage::store() if there are changes that are to be kept.
Inherited From PEAR
PEAR::PEAR()
PEAR::delExpect()
PEAR::expectError()
PEAR::getStaticProperty()
PEAR::isError()
PEAR::loadExtension()
PEAR::popErrorHandling()
PEAR::popExpect()
PEAR::pushErrorHandling()
PEAR::raiseError()
PEAR::registerShutdownFunc()
PEAR::setErrorHandling()
PEAR::staticPopErrorHandling()
PEAR::staticPushErrorHandling()
PEAR::throwError()
PEAR::_PEAR()
Documentation generated on Wed, 09 Feb 2011 09:04:47 +0700 by phpDocumentor 1.4.2