DB_common::getListOf()

DB_common::getListOf() -- Views database system information

Synopsis

array getListOf (string $type)

Описание

Retrieves information about database users, avaible databases, views and functions.

Параметр

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

Таблица 34-1. Возможные значения PEAR_Error

Error codeError messageReasonSolution
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.

Заметка

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

Пример


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