{Child Class}::staticGet() | ->fetch() |
DB_DataObject | |
PEAR Manual | |
int $DB_DataObject->find (
boolean $autoFetch
)
The find method builds and executes the current Query, based on the object variables and any WhereAdd() conditions , If the AutoFetch is TRUE, then it will also call the fetch method automatically.
boolean $autoFetch - fetch first result
int - number of rows found, only if the database backend supports the numRows() method. Otherwise 1 (or in versions after 1.7.13, true will returned)
This function can not be called statically.
Simple find() of data based on Object Vars
|
Resulting SQL
|
{Child Class}::staticGet() | ->fetch() |
DB_DataObject | |
PEAR Manual | |