function __construct(Notice $notice, Action $out = null, $profile = -1) { parent::__construct($notice, $out); if (is_int($profile) && $profile == -1) { $profile = Profile::current(); } $this->userProfile = $profile; }
function __construct($notice, $out = null, $terms) { parent::__construct($notice, $out); $this->terms = $terms; }
/** * constructor * * @param Notice $notice stream of notices from DB_DataObject */ function __construct($notice, $out = null) { parent::__construct($notice, $out); }