Gumbo_Valid_Address

Gumbo_Valid
   |
   --Gumbo_Valid_Address

Address Validation Class

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Inherited Methods

Class Methods

public Gumbo_Valid_Address __construct ( [bool $throw], [int $level] ) [line 42]

Constructor

Parameter(s):

  • (bool) $throw :: throw Exceptions
  • (int) $level :: Error Level thrown
Overrides
Gumbo_Valid::__construct()

[ Top ]
public bool isAddress ( string $val ) [line 54]

Returns if the value is a valid Address

Parameter(s):

  • (string) $val
  • throws:  Gumbo_Exception

[ Top ]
public bool isCapital ( string $val ) [line 218]

Returns if the value is a valid Capital

Parameter(s):

  • (string) $val
  • throws:  Gumbo_Exception

[ Top ]
public bool isCity ( string $val ) [line 81]

Returns if the value is a valid City

Parameter(s):

  • (string) $val
  • throws:  Gumbo_Exception

[ Top ]
public bool isContinent ( string $val ) [line 274]

Returns if the value is a valid Continent

Parameter(s):

  • (string) $val
  • todo:  use Geo classes to determine validation
  • throws:  Gumbo_Exception

[ Top ]
public bool isCountry ( string $val ) [line 246]

Returns if the value is a valid Country

Parameter(s):

  • (string) $val
  • todo:  use Geo classes to determine validation
  • throws:  Gumbo_Exception

[ Top ]
public bool isCounty ( string $val ) [line 163]

Returns if the value is a valid County

Parameter(s):

  • (string) $val
  • throws:  Gumbo_Exception

[ Top ]
public bool isProvince ( string $val ) [line 136]

Returns if the value is a valid Province

Parameter(s):

  • (string) $val
  • throws:  Gumbo_Exception

[ Top ]
public bool isState ( string $val ) [line 109]

Returns if the value is a valid State

Parameter(s):

  • (string) $val
  • todo:  use Geo classes to retrieve information
  • throws:  Gumbo_Exception

[ Top ]
public bool isStateCapital ( string $val ) [line 191]

Returns if the value is a valid State Capital

Parameter(s):

  • (string) $val
  • todo:  use Geo classes to determine validation
  • throws:  Gumbo_Exception

[ Top ]
public bool isZip ( string $val ) [line 302]

Returns if the value is a valid Zip code

Parameter(s):

  • (string) $val
  • todo:  implement this method
  • throws:  Gumbo_Exception

[ Top ]
public bool isZipUS ( string $val ) [line 329]

Returns if the value is a valid US Zip code

Parameter(s):

  • (string) $val
  • throws:  Gumbo_Exception

[ Top ]