Example #1
0
 /**
  * Initializes the default configuration for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param KObjectConfig $config  An optional ObjectConfig object with configuration options.
  * @return void
  */
 protected function _initialize(KObjectConfig $config)
 {
     parent::_initialize($config);
     $config->append(array('toolbars' => array()));
 }
Example #2
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   KObjectConfig $config  An optional ObjectConfig object with configuration options
  * @return  void
  */
 protected function _initialize(KObjectConfig $config)
 {
     $config->append(array('event_publisher' => 'event.publisher', 'event_subscribers' => array(), 'event_listeners' => array()));
     parent::_initialize($config);
 }
 /**
  * Get an object handle
  *
  * Force the object to be enqueue in the command chain.
  *
  * @return string A string that is unique, or NULL
  * @see execute()
  */
 public function getHandle()
 {
     return KObjectMixinAbstract::getHandle();
 }
Example #4
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   KObjectConfig $config Configuration options
  * @return  void
  */
 protected function _initialize(KObjectConfig $config)
 {
     $config->append(array('break_condition' => false));
     parent::_initialize($config);
 }