->fetch()

->fetch() -- fetch next row

Synopsis

boolean $DB_DataObject->fetch ()

Описание

The fetch method gets the next row and sets the objects variables to the rows data. It returns TRUE if data has been collected, and FALSE when there is no more data.

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

boolean - TRUE on success and FALSE on failure.

Заметка

Эта функция не должна вызываться статически.

Fetch is called by staticGet and get calls, so you can override this method in your classes, to add extra data to your object (like formated dates etc)

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ