mixed getOption (string $option)
mixed getOption
Determines current state of a PEAR DB configuration option
name of the option to examine
mixed the option's value
Tabla 35-1. Posibles valores de PEAR_Error
Esta función no puede ser llamada estáticamente.
Ejemplo 35-1. Simple getOption() example
<?php // Once you have a valid DB object named $db... if ($db->getOption('autofree')) { // do something... } ?>