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
Táblázat 35-1. Lehetséges PEAR_Error visszatérési értékek
Ez a függvény nem hívható statikusan.
Példa 35-1. Simple getOption() example
<?php // Once you have a valid DB object named $db... if ($db->getOption('autofree')) { // do something... } ?>