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
Table 33-1. Possible PEAR_Error values
This function can not be called statically.
Example 33-1. Simple getOption() example
<?php // Once you have a valid DB object named $db... if ($db->getOption('autofree')) { // do something... } ?>