Zend_Filter
static getAlnum (line 113)
Returns only the alphabetic characters and digits in value.
static getAlpha (line 99)
Returns only the alphabetic characters in value.
static getDigits (line 127)
Returns only the digits in value. This differs from getInt().
static getDir (line 141)
Returns dirname(value).
static getInt (line 155)
Returns (int) value.
static getPath (line 169)
Returns realpath(value).
static isAlnum (line 184)
Returns TRUE if every character is alphabetic or a digit, FALSE otherwise.
static isAlpha (line 199)
Returns TRUE if every character is alphabetic, FALSE otherwise.
static isBetween (line 219)
Returns TRUE if value is greater than or equal to $min and less than or equal to $max, FALSE otherwise. If $inc is set to FALSE, then the value must be strictly greater than $min and strictly less than $max.
static isCcnum (line 233)
Returns TRUE if it is a valid credit card number format.
static isDate (line 247)
Returns TRUE if value is a valid date, FALSE otherwise.
static isDigits (line 262)
Returns TRUE if every character is a digit, FALSE otherwise.
This is just like isInt(), except there is no upper limit.
static isEmail (line 276)
Returns TRUE if value is a valid email format, FALSE otherwise.
static isFloat (line 290)
Returns TRUE if value is a valid float value, FALSE otherwise.
static isGreaterThan (line 305)
Returns TRUE if value is greater than $min, FALSE otherwise.
static isHex (line 320)
Returns TRUE if value is a valid hexadecimal format, FALSE otherwise.
static isHostname (line 339)
Returns TRUE if value is a valid hostname, FALSE otherwise.
Depending upon the value of $allow, Internet domain names, IP addresses, and/or local network names are considered valid. The default is HOST_ALLOW_ALL, which considers all of the above to be valid.
static isInt (line 353)
Returns TRUE if value is a valid integer value, FALSE otherwise.
static isIp (line 367)
Returns TRUE if value is a valid IP format, FALSE otherwise.
static isLessThan (line 382)
Returns TRUE if value is less than $max, FALSE otherwise.
static isOneOf (line 397)
Returns TRUE if value is one of $allowed, FALSE otherwise.
static isRegex (line 413)
Returns TRUE if value matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
static noPath (line 441)
Returns basename(value).
static noTags (line 427)
Returns value with all tags removed.
filter (line 83)
Returns $value filtered through each filter in the chain
Filters are run in the order in which they were added to the chain (FIFO)
HOST_ALLOW_ALL
= 7
(line 54)
HOST_ALLOW_DNS
= 1
(line 51)
Options for isHostname() that specify which types of hostnames to allow.
HOST_ALLOW_DNS: Allows Internet domain names (e.g., example.com). HOST_ALLOW_IP: Allows IP addresses. HOST_ALLOW_LOCAL: Allows local network names (e.g., localhost, www.localdomain) and Internet domain names. HOST_ALLOW_ALL: Allows all of the above types of hostnames.
HOST_ALLOW_IP
= 2
(line 52)
HOST_ALLOW_LOCAL
= 4
(line 53)
Documentation generated on Wed, 21 Feb 2007 11:48:14 -0800 by phpDocumentor 1.3.1