fusionkit.states
Component states


Convenience methods for dealing with US States


properties:
methods: getAbbreviationList, getOptionList, getStateName, getStateStructure, isValidState
* - private method

getAbbreviationList
list getAbbreviationList ( )

returns a list of state abbreviations

Output: supressed

getOptionList
string getOptionList ( string selected="" )

returns XHTML options for all states

Output: supressed
Parameters:
   selected: string, optional, selected - state abbreviation to select (optional)

getStateName
string getStateName ( string abbreviation )

get full name from abbreviation, empty string if no match

Output: supressed
Parameters:
   abbreviation: string, optional, abbreviation

getStateStructure
structure getStateStructure ( )

get a structure keyed by abbreviations

Output: supressed

isValidState
boolean isValidState ( string abbreviation )

returns true if valid abbreviation

Output: supressed
Parameters:
   abbreviation: string, optional, abbreviation


Copyright © 2006 Foundeo Inc. - All Rights Reserved. ColdFusion is a trademark of Adobe Systems Incorporated.