This is the recommended way to autoload a class, and instantate it. The class is loaded based on the configuration settings (class_location and class_prefix) for table to class naming.
string $table - the table you want to load ([From Version 1.7.2] if blank, and called on an an instance of a dataobject, it will create a new instance of that object)
Таблица 34-1. ÷ÏÚÍÏÖÎÙÅ ÚÎÁÞÅÎÉÑ PEAR_Error
Error code | Error message | Meaning | Solution |
---|---|---|---|
DB_DATAOBJECT_ERROR_NOCLASS | "could not autoload $class" |
Пример 34-1. Simple fetch of data based on Primary Key
|
Пред. | Начало | След. |
Auto Building and Database Schema | Уровень выше | ->get() |
HIVE: All information for read only. Please respect copyright! |