/** * @param null $gender * @param null $firstname * @param null $lastname * @param null $telephone * @param Address $address * @param null $title * @param bool $isInWheelChair * @param null $gotMonthlyBilling * @param null $email * @param null $entryDate * @param null $birthday * @param null $extraMinutes * @param null $details * @param null $notice * @param bool $isAuthorizedToRide */ public function updatePassengerData($gender = null, $firstname = null, $lastname = null, $telephone = null, Address $address, $title = null, $isInWheelChair = false, $gotMonthlyBilling = null, $email = null, $entryDate = null, $birthday = null, $extraMinutes = null, $details = null, $notice = null, $isAuthorizedToRide = true) { parent::updatePersonData($gender, $firstname, $lastname, $telephone, $address, $title, $email, $entryDate, $birthday, $extraMinutes, $details, $isAuthorizedToRide); $this->setIsInWheelChair($isInWheelChair); $this->setHasMonthlyBilling($gotMonthlyBilling); $this->setNotice($notice); }
/** * @param null $gender * @param null $firstname * @param null $lastname * @param null $telephone * @param Address $address * @param null $licenceNumber * @param DriverCategory $driverCategory * @param null $wheelChairAttendance * @param null $title * @param null $email * @param null $entryDate * @param null $birthday * @param null $extraMinutes * @param null $details * @param null $operationWish * @param null $fax * @param VehicleCategory[] $contradictVehicleCategories */ public function updateDriverData($gender = null, $firstname = null, $lastname = null, $telephone = null, Address $address = null, $licenceNumber = null, DriverCategory $driverCategory = null, $wheelChairAttendance = null, $title = null, $email = null, $entryDate = null, $birthday = null, $extraMinutes = null, $details = null, $operationWish = null, $fax = null, $contradictVehicleCategories) { parent::updatePersonData($gender, $firstname, $lastname, $telephone, $address, $title, $email, $entryDate, $birthday, $extraMinutes, $details, null, null, null, $fax); if (!empty($licenceNumber)) { $this->setLicenceNumber($licenceNumber); } if (!empty($driverCategory)) { $this->setDriverCategory($driverCategory); } $this->setWheelChairAttendance($wheelChairAttendance); $this->setOperationWish($operationWish); $this->setContradictVehicleCategories($contradictVehicleCategories); }
/** * @param null $gender * @param null $firstname * @param null $lastname * @param null $telephone * @param Address $address * @param null $title * @param null $email * @param null $entryDate * @param null $birthday * @param null $extraMinutes * @param null $details * @param bool $isAuthorizedToRide */ public function updateCustodianData($gender = null, $firstname = null, $lastname = null, $telephone = null, Address $address, $title = null, $email = null, $entryDate = null, $birthday = null, $extraMinutes = null, $details = null, $isAuthorizedToRide = true) { parent::updatePersonData($gender, $firstname, $lastname, $telephone, $address, $title, $email, $entryDate, $birthday, $extraMinutes, $details, $isAuthorizedToRide); }