Project

General

Profile

Bug #20417 » driverOptions.php

Administrator Admin, 2009-05-15 16:21

 
if (isset($cfgArray['config']['driverOptions'])) {
foreach ($cfgArray['config']['driverOptions'] as $optionName => $optionValue) {
$optionSetterName = 'set' . ucfirst($optionName);
if (method_exists($optionSetterName)) {
$this->handlerInstance[$handlerKey]->$optionSetterName($optionValue);
} else {
$this->handlerInstance[$handlerKey]->$optionName = $optionValue;
}
}
}
(1-1/3)