SproutCMS

This is the code documentation for the SproutCMS project

function validatePostcode()

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

Usage

void LocaleInfoCAN::validatePostcode ( string $code );

Arguments

  1. string $code
    The postcode to validate

Exceptions thrown

Return value

  • void