a:10:{s:9:"#provides";s:17:"dojox.validate.ca";s:9:"#resource";s:14:"validate/ca.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:20:"dojox.validate._base";}}s:17:"dojox.validate.ca";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:66:"Module which includes Canadian-specific methods for dojox.validate";}s:31:"dojox.validate.ca.isPhoneNumber";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"value";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:60:" return dojox.validate.us.isPhoneNumber(value); // Boolean";s:7:"summary";s:67:"Validates Canadian 10-digit phone number for several common formats";s:7:"returns";s:7:"Boolean";}s:28:"dojox.validate.ca.isProvince";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"value";a:1:{s:4:"type";s:9:"String[2]";}}s:6:"source";s:112:" var re = new RegExp("^" + dojox.validate.regexp.ca.province() + "$", "i"); return re.test(value); // Boolean";s:7:"summary";s:56:"Validates Canadian province abbreviations (2 characters)";s:7:"returns";s:7:"Boolean";}s:41:"dojox.validate.ca.isSocialInsuranceNumber";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"value";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:136:" var flags = { format: [ "###-###-###", "### ### ###", "#########" ]}; return dojox.validate.isNumberFormat(value, flags); // Boolean";s:7:"summary";s:77:"Validates Canadian 9 digit social insurance number for several common formats";s:11:"description";s:168:"Validates Canadian 9 digit social insurance number for several common formats. This routine only pattern matches and does not use the Luhn Algorithm to validate number.";s:7:"returns";s:7:"Boolean";}s:30:"dojox.validate.ca.isPostalCode";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"value";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:114:" var re = new RegExp("^" + dojox.validate.regexp.ca.postalCode() + "$", "i"); return re.test(value); // Boolean";s:7:"summary";s:38:"Validates Canadian 6 digit postal code";s:11:"description";s:183:"Validates Canadian 6 digit postal code. Canadian postal codes are in the format ANA NAN, where A is a letter and N is a digit, with a space separating the third and fourth characters.";s:7:"returns";s:7:"Boolean";}s:14:"dojox.validate";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}