/** * 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')); }
/** * Constructor * * @param type $scenario */ public function __construct($scenario = 'insert') { $this->content = new Content($scenario); parent::__construct($scenario); }