Class: Doctrine_Validator_Usstate

Source Location: /Doctrine/Validator/Usstate.php

Class Doctrine_Validator_Usstate

Class Overview

Doctrine_Validator_Usstate

Located in /Doctrine/Validator/Usstate.php [line 33]



		
				Author(s):
		
		
		
Information Tags:
Version:  $Revision: 1080 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Properties

Methods

[ Top ]
Property Summary
static mixed   $states  

[ Top ]
Method Summary
void   getStates()  
boolean   validate()  

[ Top ]
Properties
static mixed   $states = array (
"AK" => true,
"AL" => true,
"AR" => true,
"AZ" => true,
"CA" => true,
"CO" => true,
"CT" => true,
"DC" => true,
"DE" => true,
"FL" => true,
"GA" => true,
"HI" => true,
"IA" => true,
"ID" => true,
"IL" => true,
"IN" => true,
"KS" => true,
"KY" => true,
"LA" => true,
"MA" => true,
"MD" => true,
"ME" => true,
"MI" => true,
"MN" => true,
"MO" => true,
"MS" => true,
"MT" => true,
"NC" => true,
"ND" => true,
"NE" => true,
"NH" => true,
"NJ" => true,
"NM" => true,
"NV" => true,
"NY" => true,
"OH" => true,
"OK" => true,
"OR" => true,
"PA" => true,
"PR" => true,
"RI" => true,
"SC" => true,
"SD" => true,
"TN" => true,
"TX" => true,
"UT" => true,
"VA" => true,
"VI" => true,
"VT" => true,
"WA" => true,
"WI" => true,
"WV" => true,
"WY" => true
)
[line 35]
API Tags:
Access:  private


[ Top ]
Methods
getStates  [line 90]

  void getStates( )


API Tags:
Access:  public


[ Top ]
validate  [line 101]

  boolean validate( Doctrine_Record $record, string $key, mixed $value, string $args  )

Parameters:
Doctrine_Record   $record: 
string   $key: 
mixed   $value: 
string   $args: 

API Tags:
Access:  public


[ Top ]