コード例 #1
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     if (empty($config->adapters)) {
         $config->adapters = array('image', 'finfo');
     }
     parent::_initialize($config);
 }
コード例 #2
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('path' => ''));
     parent::_initialize($config);
 }
コード例 #3
0
 /**
  * Initializes the config
  * @param Library\ObjectConfig $config
  */
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('auto_create' => true, 'auto_load' => true, 'cache_namespace' => $this->getObject('application')->getConfig()->cache_namespace, 'cache_identifier' => 'route-templates'));
     parent::_initialize($config);
 }