Пример #1
0
 /**
  * Constructor
  *
  * @param type $scenario
  */
 public function __construct($scenario = 'insert')
 {
     $this->content = new Content();
     $this->content->setUnderlyingObject($this);
     parent::__construct($scenario);
     $this->attachBehavior('HFollowableBehavior', array('class' => 'application.modules_core.user.behaviors.HFollowableBehavior'));
 }
Пример #2
0
 /**
  * Constructor
  * 
  * @param type $scenario
  */
 public function __construct($scenario = 'insert')
 {
     $this->content = new Content($scenario);
     parent::__construct($scenario);
 }