ArininAV

DB_common::getOption()

DB_common::getOption() --  Determines current state of a PEAR DB configuration option

Synopsis

mixed getOption (string $option)

Описание

Determines current state of a PEAR DB configuration option

Параметр

string $option

name of the option to examine

Возвращаемое значение

mixed the option's value

Throws

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

Error codeError messageReasonSolution
NULL unknown option The given option does not exist Check $option for typographical errors

Заметка

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

Пример