Example #1
0
 public function __construct($id, $username, $hash, $accessID)
 {
     $this->id = $id;
     $this->username = convert::toUTF($username);
     $this->hash = $hash;
     $this->accessID = $accessID;
 }
 public function __construct($id, $name, $login, $password, $owner)
 {
     $this->id = $id;
     $this->name = convert::toUTF($name);
     $this->login = $login;
     $this->password = $password;
     $this->owner = $owner;
 }
Example #3
0
 public function __construct($id, $name, $hostingID, $managerID, $registratorID)
 {
     $this->id = $id;
     $this->name = convert::toUTF($name);
     $this->hostingID = $hostingID;
     $this->managerID = $managerID;
     $this->registratorID = $registratorID;
 }
 public function __construct($id, $name, $adminPanelLink, $login, $password, $emailID, $ip, $phpMyAdminLink, $NS1, $NS2, $NS3, $NS4)
 {
     $this->id = $id;
     $this->name = convert::toUTF($name);
     $this->adminPanelLink = $adminPanelLink;
     $this->login = $login;
     $this->password = $password;
     $this->emailID = (int) $emailID;
     $this->ip = $ip;
     $this->phpMyAdminLink = $phpMyAdminLink;
     $this->NS1 = $NS1;
     $this->NS2 = $NS2;
     $this->NS3 = $NS3;
     $this->NS4 = $NS4;
 }
Example #5
0
 public function __construct($id, $name, $description, $insert_datetime, $deadlineDate, $finishedDate, $giver_userID, $doer_userID, $priorityID, $statusID, $siteID)
 {
     $this->id = $id;
     $this->name = convert::toUTF($name);
     $this->description = convert::toUTF($description);
     $this->insert_datetime = $insert_datetime;
     $this->deadlineDate = $deadlineDate;
     //DateTime::createFromFormat("M d Y h:i:s:uA", $deadlineDate);//
     $this->finishedDate = $finishedDate;
     $this->giver_userID = $giver_userID;
     $this->doer_userID = $doer_userID;
     $this->priorityID = $priorityID;
     $this->statusID = $statusID;
     $this->siteID = $siteID;
 }
 public function __construct($id, $name)
 {
     $this->id = $id;
     $this->name = convert::toUTF($name);
 }