Exemplo n.º 1
0
 public function __construct($id, $dataTable)
 {
     //If have error
     $this->_id = $id;
     $this->friendship = new HabboFriendShip($this->_id);
     //Define vars
     parent::__construct($dataTable);
 }
Exemplo n.º 2
0
 public function __construct($data)
 {
     $this->Answers = [];
     parent::__construct($data);
     $this->Likes = new ArticleCommentLikesManager($this->id);
     if ($this->parent_id == 0) {
         $sql = DB::RunFastQuery("SELECT * FROM cms_news_comments WHERE parent_id = '{$this->id}' ORDER BY id DESC");
         foreach ($sql->Rows as $answ) {
             $this->Answers[] = new ArticleCommentItem($answ);
         }
     }
 }
Exemplo n.º 3
0
 public function __construct($data)
 {
     parent::__construct($data);
 }
Exemplo n.º 4
0
 public function __construct($dataTable)
 {
     parent::__construct($dataTable);
 }
Exemplo n.º 5
0
 public function __construct($comment_id, $data)
 {
     $this->_commentid = $comment_id;
     parent::__construct($data);
 }
Exemplo n.º 6
0
 public function __construct($userid, $data)
 {
     $this->userbase_id = $userid;
     parent::__construct($data);
 }