DB_common::getListOf()

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

Referentiesamenvatting

array getListOf (string $type)

Beschrijving

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

Parameter

string $type

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

Return waarde

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

Throws

Tabel 34-1. Mogelijke PEAR_Error waarden

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.

Note

Deze functie kan niet statisch worden aangeroepen.

Voorbeeld