DB_DataObject::factory()

DB_DataObject::factory() -- Autoload and instantate class based on table name.

Synopsis

Описание

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.

Параметр

Возвращаемое значение

object mixed - FALSE or the object

Throws

Заметка

This method can be called statically or dynamically.

Пример

    Поддержать сайт на родительском проекте КГБ