DB_DataObject::staticGet()

DB_DataObject::staticGet() -- Simple Get (Select) request, abbreviated and Autoload.

Synopsis

Описание

Внимание

This method is depreciated, it is recommended to use ::factory() and ->get()

The static method is a combination of factory and get(). staticGet() will cache the returned data in a global variable for quick access within the same request (any data modification query will clear the cache).

Параметр

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

object mixed - FALSE or the object

Throws

Заметка

This method must be called statically.

Пример

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