Esempio n. 1
0
 /**
  * Initializes the default configuration 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)
 {
     parent::_initialize($config);
     $config->append(array('toolbars' => array()));
 }
Esempio n. 2
0
 /**
  * Initializes the default configuration 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)
 {
     parent::_initialize($config);
     $config->append(array('behaviors' => array(), 'auto_mixin' => true));
 }
Esempio n. 3
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param  ObjectConfig $config A ObjectConfig object with configuration options
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('priority' => self::PRIORITY_NORMAL, 'auto_mixin' => false));
     parent::_initialize($config);
 }
Esempio n. 4
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('command_chain' => null, 'event_dispatcher' => null, 'dispatch_events' => true, 'event_priority' => CommandInterface::PRIORITY_LOWEST, 'enable_callbacks' => false, 'callback_priority' => CommandInterface::PRIORITY_HIGH));
     parent::_initialize($config);
 }
Esempio n. 5
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('event_dispatcher' => null, 'event_subscribers' => array(), 'event_listeners' => array()));
     parent::_initialize($config);
 }
Esempio n. 6
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config Configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('break_condition' => false));
     parent::_initialize($config);
 }
Esempio n. 7
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('callback_priority' => CommandChain::PRIORITY_HIGH));
     parent::_initialize($config);
 }
Esempio n. 8
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('event_publisher' => 'event.publisher', 'event_subscribers' => array(), 'event_listeners' => array()));
     parent::_initialize($config);
 }