a:11:{s:9:"#provides";s:18:"dojox.validate.web";s:9:"#resource";s:15:"validate/web.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:20:"dojox.validate._base";}}s:26:"dojox.validate.isIpAddress";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"value";a:1:{s:4:"type";s:6:"String";}s:5:"flags";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}}s:6:"source";s:113:" var re = new RegExp("^" + dojox.validate.regexp.ipAddress(flags) + "$", "i"); return re.test(value); // Boolean";s:7:"summary";s:23:"Validates an IP address";s:11:"description";s:896:"Supports 5 formats for IPv4: dotted decimal, dotted hex, dotted octal, decimal and hexadecimal. Supports 2 formats for Ipv6. value A string. flags An object. All flags are boolean with default = true. flags.allowDottedDecimal Example, 207.142.131.235. No zero padding. flags.allowDottedHex Example, 0x18.0x11.0x9b.0x28. Case insensitive. Zero padding allowed. flags.allowDottedOctal Example, 0030.0021.0233.0050. Zero padding allowed. flags.allowDecimal Example, 3482223595. A decimal number between 0-4294967295. flags.allowHex Example, 0xCF8E83EB. Hexadecimal number between 0x0-0xFFFFFFFF. Case insensitive. Zero padding allowed. flags.allowIPv6 IPv6 address written as eight groups of four hexadecimal digits. flags.allowHybrid IPv6 address written as six groups of four hexadecimal digits followed by the usual 4 dotted decimal digit notation of IPv4. x:x:x:x:x:x:d.d.d.d";s:7:"returns";s:7:"Boolean";}s:20:"dojox.validate.isUrl";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"value";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:8:"A string";}s:5:"flags";a:3:{s:8:"optional";b:1;s:4:"type";s:6:"Object";s:7:"summary";s:222:"An object flags.scheme Can be true, false, or [true, false]. This means: required, not allowed, or either. flags in regexp.host can be applied. flags in regexp.ipAddress can be applied. flags in regexp.tld can be applied.";}}s:6:"source";s:107:" var re = new RegExp("^" + dojox.validate.regexp.url(flags) + "$", "i"); return re.test(value); // Boolean";s:7:"summary";s:39:"Checks if a string could be a valid URL";s:7:"returns";s:7:"Boolean";}s:29:"dojox.validate.isEmailAddress";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"value";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:8:"A string";}s:5:"flags";a:3:{s:8:"optional";b:1;s:4:"type";s:6:"Object";s:7:"summary";s:210:"An object flags.allowCruft Allow address like <mailto:foo@yahoo.com>. Default is false. flags in regexp.host can be applied. flags in regexp.ipAddress can be applied. flags in regexp.tld can be applied.";}}s:6:"source";s:116:" var re = new RegExp("^" + dojox.validate.regexp.emailAddress(flags) + "$", "i"); return re.test(value); // Boolean";s:7:"summary";s:49:"Checks if a string could be a valid email address";s:7:"returns";s:7:"Boolean";}s:33:"dojox.validate.isEmailAddressList";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"value";a:1:{s:4:"type";s:6:"String";}s:5:"flags";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}}s:6:"source";s:120:" var re = new RegExp("^" + dojox.validate.regexp.emailAddressList(flags) + "$", "i"); return re.test(value); // Boolean";s:7:"summary";s:395:"Checks if a string could be a valid email address list. value A string. flags An object. flags.listSeparator The character used to separate email addresses. Default is ";", ",", "\n" or " ". flags in regexp.emailAddress can be applied. flags in regexp.host can be applied. flags in regexp.ipAddress can be applied. flags in regexp.tld can be applied.";s:7:"returns";s:7:"Boolean";}s:34:"dojox.validate.getEmailAddressList";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"value";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:8:"A string";}s:5:"flags";a:3:{s:8:"optional";b:1;s:4:"type";s:6:"Object";s:7:"summary";s:52:"An object (same as dojo.validate.isEmailAddressList)";}}s:6:"source";s:256:" if(!flags) { flags = {}; } if(!flags.listSeparator) { flags.listSeparator = "\\s;,"; } if ( dojox.validate.isEmailAddressList(value, flags) ) { return value.split(new RegExp("\\s*[" + flags.listSeparator + "]\\s*")); // Array } return []; // Array";s:7:"summary";s:118:"Check if value is an email address list. If an empty list is returned, the value didn't pass the test or it was empty.";s:7:"returns";s:5:"Array";}s:18:"dojox.validate.web";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}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:"";}}