DB_common::getOption()

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

Synopsis

mixed getOption (string $option)

Descripción

Determines current state of a PEAR DB configuration option

Parámetro

string $option

name of the option to examine

Valor devuelto

mixed the option's value

Lanza

Tabla 35-1. Posibles valores de PEAR_Error

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

Nota

Esta función no puede ser llamada estáticamente.

Ejemplo