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;
 }
示例#2
0
 function __construct($notice, $out = null, $terms)
 {
     parent::__construct($notice, $out);
     $this->terms = $terms;
 }
示例#3
0
 /**
  * constructor
  *
  * @param Notice $notice stream of notices from DB_DataObject
  */
 function __construct($notice, $out = null)
 {
     parent::__construct($notice, $out);
 }