DB_common::getListOf()

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

Áttekintés

array getListOf (string $type)

Leírás

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

Paraméterek

string $type

type of requested info, valid values for $type are database dependent, ie: tables, databases, users, view, functions

Visszatérési érték

array - an ordered array containing the requested data or a DB_Error object on failure

Lehetséges hibaértékek

Táblázat 35-1. Lehetséges PEAR_Error visszatérési értékek

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.

Megjegyzés

Ez a függvény nem hívható statikusan.

Példa