toArray(); } if (!isset($options[$adapterOption])) { return null; } $classname = $options[$adapterOption]; unset($options[$adapterOption]); if (!class_exists($classname)) { #require_once 'Zend/Loader.php'; Zend_Loader::loadClass($classname); } return new $classname($options); } }