Example #1
0
 /**
  * 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;
 }
Example #2
0
 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);
 }
Example #4
0
 public function __construct($options = null)
 {
     $this->_zendResource = new Zend_Application_Resource_Mail($options);
     parent::__construct($options);
 }