Пример #1
0
 public function __construct($id = -1, $nb_vote = 0, $id_contest = 0, $id_member = 0, $id_picture = 0)
 {
     parent::__construct();
     $this->setId($id);
     $this->setNbVote($nb_vote);
     $this->setIdContest($id_contest);
     $this->setIdMember($id_member);
     $this->setIdPicture($id_picture);
 }
Пример #2
0
 public function __construct($lastname = "", $firstname = "", $picture = "", $id_member = 0, $email = "")
 {
     parent::__construct();
     $this->setLastame($lastname);
     $this->setFirstname($firstname);
     $this->setPicture($picture);
     $this->setIdMember($id_member);
     $this->setEmail($email);
 }
Пример #3
0
 public function __construct($id = -1, $rank = "", $title = "", $image_link = "", $description = "", $id_contest = "")
 {
     parent::__construct();
     $this->setId($id);
     $this->setRank($rank);
     $this->setTitle($title);
     $this->setImageLink($image_link);
     $this->setDescription($description);
     $this->setIdContest($id_contest);
 }
Пример #4
0
 public function __construct($id = -1, $title = "", $date_begin = "", $date_ending = "", $description = "", $color_theme = "", $banner = "", $logo = "", $is_active = 0, $is_delete = 0)
 {
     parent::__construct();
     $this->setId($id);
     $this->setTitle($title);
     $this->setDateBegin($date_begin);
     $this->setDateEnding($date_ending);
     $this->setDescription($description);
     $this->setColorTheme($color_theme);
     $this->setBanner($banner);
     $this->setLogo($logo);
     $this->setActive($is_active);
     $this->setDelete($is_delete);
 }