Example #1
0
 /**
  * Initializes the default configuration for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param KConfig $config An optional KConfig object with configuration options.
  *
  * @return void
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('story_aggregation' => array(), 'behaviors' => array('assignable' => array(), 'scopeable' => array('class' => 'ComMediumDomainEntityMedium', 'type' => 'post'), 'hashtagable' => array('class' => 'ComMediumDomainEntityMedium', 'type' => 'post'))));
     parent::_initialize($config);
 }
Example #2
0
 /**
  * Initializes the default configuration for the object.
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param KConfig $config An optional KConfig object with configuration options.
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('story_aggregation' => array('cover_edit' => 'target', 'avatar_edit' => 'target'), 'behaviors' => array('scopeable' => array('class' => 'ComActorsDomainEntityActor', 'type' => 'actor'), 'hashtagable' => array('class' => 'ComActorsDomainEntityActor', 'type' => 'actor'))));
     parent::_initialize($config);
 }
Example #3
0
 /**
  * Initializes the default configuration for the object.
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param KConfig $config An optional KConfig object with configuration options.
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('behaviors' => array('assignable' => array())));
     parent::_initialize($config);
 }
Example #4
0
 /**
  * Initializes the default configuration for the object.
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param KConfig $config An optional KConfig object with configuration options.
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('behaviors' => array('assignable' => array('assignment_option' => ComComponentsDomainBehaviorAssignable::OPTION_NOT_OPTIONAL, 'actor_identifiers' => array('com:people.domain.entity.person')))));
     parent::_initialize($config);
 }
Example #5
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param 	object 	An optional KConfig object with configuration options.
  * @return 	void
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array());
     return parent::_initialize($config);
 }