public function __construct($departmentId = NULL, $sectionId = NULL, $studentObj = NULL) { $this->departmentId = $departmentId; $this->sectionId = $sectionId; parent::__construct($studentObj); }
public function __construct($studentObj = NULL) { //$this->sectionId = $sectionId; parent::__construct($studentObj); }