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
Tabel 34-1. Mogelijke PEAR_Error waarden
Deze functie kan niet statisch worden aangeroepen.
Voorbeeld 34-1. Simple getOption() example
<?php // Once you have a valid DB object named $db... if ($db->getOption('autofree')) { // do something... } ?>