[Zend_Validate] element index

Package indexes

All elements
a b c d g h i j l n s t u z _
_
top
Variable $_defaultTranslator
Default translation object for all validate objects
Variable $_errors
Array of validation failure message codes
Variable $_idnLength
Variable $_messageLength
Limits the maximum returned length of a error message
Variable $_messages
Array of validation failure messages
Variable $_messageTemplates
Variable $_messageTemplates
Validation failure message template definitions
Variable $_messageTemplates
Variable $_messageVariables
Variable $_messageVariables
Additional variables available for validation failure messages
Variable $_obscureValue
Flag indidcating whether or not value should be obfuscated in error
Variable $_options
Variable $_options
internal options
Variable $_tld
Variable $_translator
Translation object
Variable $_translatorDisabled
Is translation disabled?
Variable $_validIdns
Array for valid Idns
Variable $_validTlds
Array of valid top-level-domains
Variable $_value
The value to be validated
Method _createMessage
Constructs and returns a validation failure message with the given message key and value.
Method _error
Method _setValue
Sets the value to be validated and clears the messages and errors arrays
Method _validateIPv4
Validates an IPv4 address
Method _validateIPv6
Validates an IPv6 address
Method __construct
Sets validator options
Method __construct
Sets validator options
Method __get
Magic function returns the value of the requested property, if and only if it is the value or a message variable.
a
top
Class Constant ALLOW_ALL
Allows all types of hostnames
Class Constant ALLOW_DNS
Allows Internet domain names (e.g., example.com)
Class Constant ALLOW_IP
Allows IP addresses
Class Constant ALLOW_LOCAL
Allows local network names (e.g., localhost, www.localdomain)
Class Constant ALLOW_URI
Allows all types of hostnames
Page Abstract.php
Abstract.php in Abstract.php
b
top
Page Biz.php
Biz.php in Biz.php
c
top
Class Constant CANNOT_DECODE_PUNYCODE
Page Cn.php
Cn.php in Cn.php
Page Com.php
Com.php in Com.php
d
top
Method decodePunycode
Decodes a punycode encoded string to it's original utf8 string In case of a decoding failure the original string is returned
g
top
Method getAllow
Returns the allow option
Method getDefaultTranslator
Get default translation object for all validate objects
Method getErrors
Returns array of validation failure message codes
Method getIpValidator
Returns the set ip validator
Method getMessageLength
Returns the maximum allowed message length
Method getMessages
Returns array of validation failure messages
Method getMessages
Returns an array of messages that explain why the most recent isValid() call returned false. The array keys are validation failure message identifiers, and the array values are the corresponding human-readable message strings.
Method getMessageTemplates
Returns the message templates from the validator
Method getMessageVariables
Returns an array of the names of variables that are used in constructing validation failure messages
Method getObscureValue
Retrieve flag indicating whether or not value should be obfuscated in messages
Method getOptions
Returns all set options
Method getOptions
Returns all set options
Method getTranslator
Return translation object
Method getValidateIdn
Returns the set idn option
Method getValidateTld
Returns the set tld option
h
top
Method hasDefaultTranslator
Is there a default translation object set?
Method hasTranslator
Does this validator have its own specific translator?
Page Hostname.php
Hostname.php in Hostname.php
i
top
Class Constant INVALID
Class Constant INVALID
Class Constant INVALID_DASH
Class Constant INVALID_HOSTNAME
Class Constant INVALID_HOSTNAME_SCHEMA
Class Constant INVALID_LOCAL_NAME
Class Constant INVALID_URI
Class Constant IP_ADDRESS_NOT_ALLOWED
Method isValid
Defined by Zend_Validate_Interface
Method isValid
Returns true if and only if $value meets the validation requirements
Method isValid
Defined by Zend_Validate_Interface
Page Interface.php
Interface.php in Interface.php
Page Ip.php
Ip.php in Ip.php
j
top
Page Jp.php
Jp.php in Jp.php
l
top
Class Constant LOCAL_NAME_NOT_ALLOWED
n
top
Class Constant NOT_IP_ADDRESS
s
top
Method setAllow
Sets the allow option
Method setDefaultTranslator
Set default translation object for all validate objects
Method setDisableTranslator
Indicate whether or not translation should be disabled
Method setIpValidator
Method setMessage
Sets the validation failure message template for a particular key
Method setMessageLength
Sets the maximum allowed message length
Method setMessages
Sets validation failure message templates given as an array, where the array keys are the message keys, and the array values are the message template strings.
Method setObscureValue
Set flag indicating whether or not value should be obfuscated in messages
Method setOptions
Sets the options for this validator
Method setOptions
Sets the options for this validator
Method setTranslator
Set translation object
Method setValidateIdn
Set whether IDN domains are validated
Method setValidateTld
Set whether the TLD element of a hostname is validated
t
top
Method translatorIsDisabled
Is translation disabled?
u
top
Class Constant UNDECIPHERABLE_TLD
Class Constant UNKNOWN_TLD
z
top
Class Zend_Validate_Abstract
Zend_Validate_Abstract in Abstract.php
Class Zend_Validate_Hostname
Zend_Validate_Hostname in Hostname.php
Please note there are two standalone test scripts for testing IDN characters due to problems with file encoding.
Class Zend_Validate_Interface
Zend_Validate_Interface in Interface.php
Class Zend_Validate_Ip
a b c d g h i j l n s t u z _