public function parseEntity(User $entity) {

        $output = [
            $this->encodeInteger($entity->getUserNumber(), 9),
            $this->encodeInteger($entity->getCustomerNumber(), 9),
            $this->encodeString($entity->getTitle(), 10),
            $this->encodeString($entity->getSurname(), 25),
            $this->encodeString($entity->getFirstname(), 25),
            $this->encodeDate($entity->getDateBirth()),
            $this->encodeString($entity->getParkingSpace(), 5),
            $this->encodeString($entity->getRemarks(), 50),
            $this->encodeDateTime($entity->getDatetimeLastModification()),
            $this->encodeBoolean($entity->getDeletedRecord()),
            $this->encodeString($entity->getIdentificationNumber(), 20),
            $this->encodeBoolean($entity->getCheckLicensePlate()),
            $this->encodeBoolean($entity->getPassageLicensePlatePermitted()),
            $this->encodeBoolean($entity->getExcessTimesCreditCard()),
            $this->encodeString($entity->getCreditCardNumber(), 20),
            $this->encodeDate($entity->getExpiryDate()),
            $this->encodeString($entity->getRemarks2(), 50),
            $this->encodeString($entity->getRemarks3(), 50),
            $this->encodeString($entity->getDivision(), 50),
            $this->encodeString($entity->getEmail(), 120),
            $this->encodeBoolean($entity->getGroupCounting()),
            $this->encodeInteger($entity->getETicketTypeP(), 1),
            $this->encodeString($entity->getETicketEmailTelephone(), 120),
            $this->encodeInteger($entity->getETicketAuthentication(), 1),
            $this->encodeInteger($entity->getETicketServiceTyp(), 1),
            $this->encodeInteger($entity->getETicketServiceArt(), 1),
        ];

        return implode(";", $output);
    }
public function parseEntity(User $entity) {

        $output = [
            $this->encodeInteger($entity->getUserNumber(), 9),
            $this->encodeInteger($entity->getCustomerNumber(), 9),
            $this->encodeString($entity->getTitle(), 10),
            $this->encodeString($entity->getSurname(), 25),
            $this->encodeString($entity->getFirstname(), 25),
            $this->encodeDate($entity->getDateBirth()),
            $this->encodeString($entity->getParkingSpace(), 5),
            $this->encodeString($entity->getRemarks(), 50),
            $this->encodeDateTime($entity->getDatetimeLastModification()),
            $this->encodeBoolean($entity->getDeletedRecord()),
            $this->encodeString($entity->getIdentificationNumber(), 20),
            $this->encodeBoolean($entity->getCheckLicensePlate()),
            $this->encodeBoolean($entity->getPassageLicensePlatePermitted()),
            $this->encodeBoolean($entity->getExcessTimesCreditCard()),
            $this->encodeString($entity->getCreditCardNumber(), 20),
            $this->encodeDate($entity->getExpiryDate()),
            $this->encodeString($entity->getRemarks2(), 50),
            $this->encodeString($entity->getRemarks3(), 50),
            $this->encodeString($entity->getDivision(), 50),
            $this->encodeString($entity->getEmail(), 120),
            $this->encodeBoolean($entity->getGroupCounting()),
            $this->encodeInteger($entity->getETicketTypeP(), 1),
            $this->encodeString($entity->getETicketEmailTelephone(), 120),
            $this->encodeInteger($entity->getETicketAuthentication(), 1),
            $this->encodeInteger($entity->getETicketServiceTyp(), 1),
            $this->encodeInteger($entity->getETicketServiceArt(), 1),
        ];

        return implode(";", $output);
    }
public function parseEntity ( User $ entity ) { $ output = [ $ this -> encodeInteger ( $ entity -> getUserNumber ( ) , 9 ) , $ this -> encodeInteger ( $ entity -> getCustomerNumber ( ) , 9 ) , $ this -> encodeString ( $ entity -> getTitle ( ) , 10 ) , $ this -> encodeString ( $ entity -> getSurname ( ) , 25 ) , $ this -> encodeString ( $ entity -> getFirstname ( ) , 25 ) , $ this -> encodeDate ( $ entity -> getDateBirth ( ) ) , $ this -> encodeString ( $ entity -> getParkingSpace ( ) , 5 ) , $ this -> encodeString ( $ entity -> getRemarks ( ) , 50 ) , $ this -> encodeDateTime ( $ entity -> getDatetimeLastModification ( ) ) , $ this -> encodeBoolean ( $ entity -> getDeletedRecord ( ) ) , $ this -> encodeString ( $ entity -> getIdentificationNumber ( ) , 20 ) , $ this -> encodeBoolean ( $ entity -> getCheckLicensePlate ( ) ) , $ this -> encodeBoolean ( $ entity -> getPassageLicensePlatePermitted ( ) ) , $ this -> encodeBoolean ( $ entity -> getExcessTimesCreditCard ( ) ) , $ this -> encodeString ( $ entity -> getCreditCardNumber ( ) , 20 ) , $ this -> encodeDate ( $ entity -> getExpiryDate ( ) ) , $ this -> encodeString ( $ entity -> getRemarks2 ( ) , 50 ) , $ this -> encodeString ( $ entity -> getRemarks3 ( ) , 50 ) , $ this -> encodeString ( $ entity -> getDivision ( ) , 50 ) , $ this -> encodeString ( $ entity -> getEmail ( ) , 120 ) , $ this -> encodeBoolean ( $ entity -> getGroupCounting ( ) ) , $ this -> encodeInteger ( $ entity -> getETicketTypeP ( ) , 1 ) , $ this -> encodeString ( $ entity -> getETicketEmailTelephone ( ) , 120 ) , $ this -> encodeInteger ( $ entity -> getETicketAuthentication ( ) , 1 ) , $ this -> encodeInteger ( $ entity -> getETicketServiceTyp ( ) , 1 ) , $ this -> encodeInteger ( $ entity -> getETicketServiceArt ( ) , 1 ) , ] ; return implode ( ";" , $ output ) ; }
Parse a user entity.

@param User $entity The user.
@return string Returns the parsed user.
@throws TooLongDataException Throws a too long data exception if a data is too long.
Parse a user entity .