SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class LocaleInfoCAN

Locale info for Canada; see LocaleInfo

Variables

NameVisibilityDescription
$decimal_seperator 
$group_seperator 
$state_list 
$state_name 

Functions

NameVisibilityDescription
validateAddresspublicValidate address fields
validatePostcodepublic (static)Validate a Canadian postcode, which must match the format 'A1A 1A1'

public validateAddress

void $LocaleInfoCAN->validateAddress ( Validator $valid [, bool $required ] );

Validate address fields

public validatePostcode

void LocaleInfoCAN::validatePostcode ( string $code );

Validate a Canadian postcode, which must match the format 'A1A 1A1'