Ejemplo n.º 1
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param  ObjectConfig $config  An optional ObjectConfig object with configuration options.
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('path_templates' => array('resources/language/<File>.<Format>')));
     parent::_initialize($config);
 }
Ejemplo n.º 2
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param  ObjectConfig $config  An optional ObjectConfig object with configuration options.
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('path_templates' => array('view/<Path>/templates/<File>.<Format>.<Type>')));
     parent::_initialize($config);
 }