예제 #1
0
 public function __construct($surname = '', $firstname = '', $sex = self::FEMALE, $age = 0, $idGroup = 0, $id = -1)
 {
     parent::__construct(null, $id);
     $this->surname = $surname;
     $this->firstname = $firstname;
     $this->sex = $sex;
     $this->age = $age;
     $this->idGroup = $idGroup;
 }
예제 #2
0
 public function __construct($name = '', $idFaculty = 0, $id = -1)
 {
     parent::__construct($name, $id);
     $this->idFaculty = $idFaculty;
     $this->countStudents = 0;
 }
예제 #3
0
 public function __construct($name = '', $id = -1)
 {
     parent::__construct($name, $id);
 }