Private Method Details |
setup |
private int setup( $keyval )
|
|
Method used to initialize a DB_storage object from the
configured table.
|
Parameter |
|
|
$keyval |
|
|
Warning: documentation is missing. |
|
Returns |
int DB_OK on success, DB error if not |
|
insert |
private void insert( boolean $newid )
|
|
Create a new (empty) row in the configured table for this
object.
|
Parameter |
|
boolean |
$newid |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
toString |
private string toString( )
|
|
Output a simple description of this DB_storage object.
|
Returns |
string object description |
|
dump |
private void dump( )
|
|
Dump the contents of this object to "standard output".
|
Returns |
void |
|
&create |
private object a &create( array $table, &$data )
|
|
Static method used to create new DB storage objects.
|
Parameter |
|
array |
$table |
|
|
the keys are the names
of properties/columns |
|
|
|
&$data |
|
|
Warning: documentation is missing. |
|
Returns |
object a new instance of DB_storage or a subclass of it |
|
loadFromQuery |
private int loadFromQuery( $query, boolean $params )
|
|
Loads data into this object from the given query. If this
object already contains table data, changes will be saved andthe object re-initialized first.
|
Parameter |
|
|
$query |
|
|
Warning: documentation is missing. |
|
|
boolean |
$params |
|
|
Warning: documentation is missing. |
|
Returns |
int DB_OK on success, DB_WARNING_READ_ONLY if the
returned object is read-only (because the object's specified
key column was not found among the columns returned by $query),
or another DB error code in case of errors. |
|
DB_storage_destructor |
private void DB_storage_destructor( )
|
|
Warning: documentation is missing.
|
Returns |
void |
|
set |
private void set( $property, &$newvalue )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$property |
|
|
Warning: documentation is missing. |
|
|
|
&$newvalue |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&get |
private void &get( $property )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$property |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
destroy |
private void destroy( boolean $discard )
|
|
Warning: documentation is missing.
|
Parameter |
|
boolean |
$discard |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
store |
private void store( )
|
|
Warning: documentation is missing.
|
Returns |
void |
|