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; }
public function __construct($name = '', $idFaculty = 0, $id = -1) { parent::__construct($name, $id); $this->idFaculty = $idFaculty; $this->countStudents = 0; }
public function __construct($name = '', $id = -1) { parent::__construct($name, $id); }