The static method is similar to the get request, however it does not require the initial instantiation of the class. staticGet() can optionally cache the results. (see the configuration section)
Таблица 34-1. Возможные значения PEAR_Error
Error code | Error message | Meaning | Solution |
---|---|---|---|
DB_DATAOBJECT_ERROR_NOCLASS | "could not autoload $class" | ||
DB_DATAOBJECT_ERROR_NOCLASS | "Error creating $newclass" | ||
DB_DATAOBJECT_ERROR_NODATA | "No Data return from get $key $value" |
Пример 34-1. Simple fetch of data based on Primary Key
|
Пред. | Начало | След. |
DB_DataObject::staticGet() | Уровень выше | ->find() |
HIVE: All information for read only. Please respect copyright! |