示例#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()));
 }
示例#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));
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }