->getDatabaseResult() -- Get the PEAR Database Result Object
Описание
Fetch the pear database result object - so you can use it with things like the
Pager or HTML_Select classes
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 34-1. getting the result object $person = new DataObjects_Person;
$person->hair = 'green';
$person->selectAdd();
$person->selectAdd('id,name');
$person->find();
$res= $person->getDatabaseResult();
$quickFormSelect->loadDbResult($res,'id','name'); |
|
HIVE: All information for read only. Please respect copyright! |
|