blob: 764fb0c7483be414628f0ba37c561ea4ad6a8d6a [file] [log] [blame]
{ "type": "class",
"qname": "mx.validators.PhoneNumberValidator",
"baseClassname": "mx.validators.Validator"
,
"description": "The PhoneNumberValidator class validates that a string is a valid phone number. A valid phone number contains at least 10 digits, plus additional formatting characters. The validator does not check if the phone number is an actual active phone number. <p>The <code>&lt;mx:PhoneNumberValidator&gt;</code> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:</p> <pre>\\n &lt;mx:PhoneNumberValidator\\n allowedFormatChars=&quot;()- .+&quot;\\n invalidCharError=&quot;Your telephone number contains invalid characters.&quot;\\n minDigits=&quot;10&quot;\\n wrongLengthError=&quot;Your telephone number must contain at least 10 digits.&quot;\\n /&gt;\\n </pre>",
"tags": [
{ "tagName": "includeExample",
"values": ["examples/PhoneNumberValidatorExample.mxml"]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "mxml",
"values": []},
{ "tagName": "productversion",
"values": ["Royale 0.9.3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "mx.validators.PhoneNumberValidator",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "allowedFormatChars",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The set of allowable formatting characters.",
"tags": [
{ "tagName": "default",
"values": [""()- .+""]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}