/** * Overwrite cause we want to store the options elsewhere * * @return array */ public function getOptions() { $options = parent::getOptions(); if (!array_key_exists('enabled', $options)) { $options['enabled'] = true; } if ($options['enabled']) { $config = Garp_Config_Ini::getCached(APPLICATION_PATH . '/configs/acl.ini'); $aclOptions = $config->acl->toArray(); $options = array_merge($options, $aclOptions); } return $options; }
public function __construct($options = null) { parent::__construct($options); if (null !== $this->getBootstrap()) { $this->bootstrapSetInConstructor = true; } }
/** * Constructor * * @param mixed $options */ public function __construct($options = null) { $this->_bootstraps = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS); parent::__construct($options); }
public function __construct($options = null) { $this->_zendResource = new Zend_Application_Resource_Mail($options); parent::__construct($options); }