DB_Common::getListOf()

DB_Common::getListOf() -- view database system information

Synopsis

require_once 'DB.php';

mixed getListOf (string $type)

Description

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

Parameter

string $type

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

Return value

mixed - the requested data or a DB_Error object, if fail

Throws

Table 20-1. Possible PEAR_Error values

Error codeError messageReasonSolution
DB_ERROR_UNSUPPORTED null The requested information is not avaible. Check your user permissions and the database system for support quering the requested information.

Note

This function can not be called statically