Example #1
0
 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);
     }
 }
Example #2
0
 public function __construct($name, $level)
 {
     parent::__construct($name);
     $this->level = $level;
 }
 public function __construct($hoursPerMonth, $money, $rank)
 {
     parent::__construct($hoursPerMonth, $money);
     $this->rank = $rank;
 }
Example #4
0
 public function __construct($newFirstName, $newLastName, $newAge, $newGender, $newSalary, $newDept, $newCarType)
 {
     parent::__construct($newFirstName, $newLastName, $newAge, $newGender, $newSalary, $newDept);
     $this->setCarType($newCarType);
 }
Example #5
0
 function __construct()
 {
     parent::__construct();
     echo "<p>Manager constructor called</p>";
 }
Example #6
0
 public function __construct($id, $name, $salary, $department)
 {
     parent::__construct($id, $name, $salary);
     $this->department = $department;
 }
 public function __construct($hoursPerMonth, $money, $dayWatch = 0, $nightWAtch = 0)
 {
     parent::__construct($hoursPerMonth, $money);
     $this->dayWatch = $dayWatch;
     $this->nightWAtch = $nightWAtch;
 }
Example #8
0
 public function __construct($id, $name, $salary, array $skills)
 {
     parent::__construct($id, $name, $salary);
     $this->skills = $skills;
 }
 public function __construct($firstName, $lastName, $employeeId, $hourlyRate)
 {
     parent::__construct($firstName, $lastName, $employeeId);
     $this->hourlyRate = $hourlyRate;
 }
Example #10
0
 public function __construct($name, $type)
 {
     parent::__construct($name, $type);
 }
Example #11
0
 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;
 }
Example #12
0
 public function __construct($hours_per_day, $hours_per_month, $salary, $rank)
 {
     parent::__construct($hours_per_day, $hours_per_month, $salary);
     $this->rank = $rank;
 }