DB_common::getListOf()
Параметр
- string $type
type of requested info, valid values for $type are database dependent, ie: tables, databases, users, view, functions
Возвращаемое значение
array - an ordered array containing the requested data or a DB_Error object on failure
Throws
Таблица 35-1. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
DB_ERROR_UNSUPPORTED | not supported | The requested information is not avaible. | Check your user permissions and the database system for support quering the requested information. |
Пример
Пример 35-1. Using getListOf()
|
Пред. | Начало | След. |
DB_common::getCol() | Уровень выше | DB_common::getOne() |