DB_common::getOption()

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

Áttekintés

mixed getOption (string $option)

Leírás

Determines current state of a PEAR DB configuration option

Paraméterek

string $option

name of the option to examine

Visszatérési érték

mixed the option's value

Lehetséges hibaértékek

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

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

Megjegyzés

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

Példa