コード例 #1
0
ファイル: Teacher.class.php プロジェクト: eebrah/schoolsys
 function __construct($uniqueID = DEFAULT_UNIQUE_ID, $surName = "", $otherNames = "", $IDNumber = "", $KRAPIN = "", $dateOfEmployment = "", $TSCNumber = "")
 {
     parent::__construct($uniqueID, $surName, $otherNames, $IDNumber, $KRAPIN, $dateOfEmployment);
     if ($uniqueID != "00000") {
         $this->load();
     } else {
         $this->setTSCNumber($TSCNumber);
     }
 }
コード例 #2
0
ファイル: cloning.php プロジェクト: badlamer/hhvm
 public function __construct($name, $level)
 {
     parent::__construct($name);
     $this->level = $level;
 }
コード例 #3
0
 public function __construct($hoursPerMonth, $money, $rank)
 {
     parent::__construct($hoursPerMonth, $money);
     $this->rank = $rank;
 }
コード例 #4
0
ファイル: Manager.php プロジェクト: spiritman1990/pdt
 public function __construct($newFirstName, $newLastName, $newAge, $newGender, $newSalary, $newDept, $newCarType)
 {
     parent::__construct($newFirstName, $newLastName, $newAge, $newGender, $newSalary, $newDept);
     $this->setCarType($newCarType);
 }
コード例 #5
0
ファイル: Manager.php プロジェクト: raynaldmo/php-education
 function __construct()
 {
     parent::__construct();
     echo "<p>Manager constructor called</p>";
 }
コード例 #6
0
ファイル: Manager.php プロジェクト: mbfisher/training
 public function __construct($id, $name, $salary, $department)
 {
     parent::__construct($id, $name, $salary);
     $this->department = $department;
 }
コード例 #7
0
 public function __construct($hoursPerMonth, $money, $dayWatch = 0, $nightWAtch = 0)
 {
     parent::__construct($hoursPerMonth, $money);
     $this->dayWatch = $dayWatch;
     $this->nightWAtch = $nightWAtch;
 }
コード例 #8
0
ファイル: Engineer.php プロジェクト: mbfisher/training
 public function __construct($id, $name, $salary, array $skills)
 {
     parent::__construct($id, $name, $salary);
     $this->skills = $skills;
 }
コード例 #9
0
 public function __construct($firstName, $lastName, $employeeId, $hourlyRate)
 {
     parent::__construct($firstName, $lastName, $employeeId);
     $this->hourlyRate = $hourlyRate;
 }
コード例 #10
0
ファイル: Programmer.php プロジェクト: ryo-utsunomiya/php
 public function __construct($name, $type)
 {
     parent::__construct($name, $type);
 }
コード例 #11
0
ファイル: Doctor.php プロジェクト: hbahnev/php-course
 public function __construct($hours_per_day, $hours_per_month, $salary, $day_shifts, $night_shifts)
 {
     parent::__construct($hours_per_day, $hours_per_month, $salary);
     $this->day_shifts = $day_shifts;
     $this->night_shifts = $night_shifts;
 }
コード例 #12
0
ファイル: Policeman.php プロジェクト: hbahnev/php-course
 public function __construct($hours_per_day, $hours_per_month, $salary, $rank)
 {
     parent::__construct($hours_per_day, $hours_per_month, $salary);
     $this->rank = $rank;
 }