Validate_LU
[ class tree: Validate_LU ] [ index: Validate_LU ] [ all elements ]

Class: Validate_LU

Source Location: /Validate_LU-0.1.0/Validate/LU.php

Class Overview


Data validation class for Luxembourg


Author(s):

Version:

  • Release: 0.1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
Data validation class for Luxembourg

This class provides methods to validate:

  • Postal code



[ Top ]


Method Detail

postalCode   [line 50]

bool postalCode( string $postcode, [bool $strong = false])

Validate a luxembourgish postcode.
  • Return:

    true if postcode is ok, false otherwise

    http://en.wikipedia.org/wiki/Postal_code

  • Access: public

Parameters:

string   $postcode     postcode to validate
bool   $strong     optional; strong checks (e.g. against a list of postcodes) (not implemented)

[ Top ]


Documentation generated on Wed, 04 Aug 2010 13:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.