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

Class: Validate_LI

Source Location: /Validate_LI-0.1.0/Validate/LI.php

Class Overview


Data validation class for Liechtenstein


Author(s):

Version:

  • Release: 0.1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
Data validation class for Liechtenstein

This class provides methods to validate:

  • Postal code



[ Top ]


Method Detail

postalCode   [line 52]

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

Validate a Liechtenstein postcode.

Liechtenstein uses the same codes as Switzerland.


Parameters:

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

[ Top ]


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