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

Class: Validate_AT

Source Location: /Validate_AT-0.5.0/Validate/AT.php

Class Overview


Data validation class for Austria


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 44]
Data validation class for Austria

This class provides methods to validate:

  • Social insurance number (aka SSN)
  • Postal code



[ Top ]


Method Detail

postalCode   [line 55]

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

Validate postcode ("Postleitzahl")
  • Return: true if postcode is ok, false otherwise
  • Access: public

Parameters:

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

[ Top ]

ssn   [line 80]

bool ssn( string $svn)

Validate SSN

"Sozialversicherungsnummer"

  • Access: public

Parameters:

string   $svn   — 

[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:37:06 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.