Zend_FilterLocated in /Zend/Filter.php (line 34)
static mixed
isBetween
( $value, mixed $min, mixed $max, [ $inc = TRUE], mixed $key, boolean $inclusive)
static getAlnum (line 69)
Returns only the alphabetic characters and digits in value.
static getAlpha (line 58)
Returns only the alphabetic characters in value.
static getDigits (line 80)
Returns only the digits in value. This differs from getInt().
static getDir (line 91)
Returns dirname(value).
static getInt (line 102)
Returns (int) value.
static getPath (line 113)
Returns realpath(value).
static isAlnum (line 125)
Returns value if every character is alphabetic or a digit, FALSE otherwise.
static isAlpha (line 137)
Returns value if every character is alphabetic, FALSE otherwise.
static isBetween (line 154)
Returns value if it 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 179)
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
static isDate (line 212)
Returns $value if it is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
static isDigits (line 226)
Returns value if every character is a digit, FALSE otherwise.
This is just like isInt(), except there is no upper limit.
static isEmail (line 237)
Returns value if it is a valid email format, FALSE otherwise.
static isFloat (line 250)
Returns value if it is a valid float value, FALSE otherwise.
static isGreaterThan (line 267)
Returns value if it is greater than $min, FALSE otherwise.
static isHex (line 279)
Returns value if it is a valid hexadecimal format, FALSE otherwise.
static isHostname (line 296)
Returns value if it 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 358)
Returns value if it is a valid integer value, FALSE otherwise.
static isIp (line 374)
Returns value if it is a valid IP format, FALSE otherwise.
static isLessThan (line 386)
Returns value if it is less than $max, FALSE otherwise.
static isName (line 398)
Returns value if it is a valid format for a person's name, FALSE otherwise.
static isOneOf (line 409)
Returns value if it is one of $allowed, FALSE otherwise.
static isPhone (line 428)
Returns value if it is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
This method requires that the value consist of only digits.
static isRegex (line 504)
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
static isUri (line 509)
static isZip (line 522)
Returns value if it is a valid US ZIP, FALSE otherwise.
static noPath (line 544)
Returns basename(value).
static noTags (line 533)
Returns value with all tags removed.
HOST_ALLOW_ALL
= 7
(line 50)
HOST_ALLOW_DNS
= 1
(line 47)
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 48)
HOST_ALLOW_LOCAL
= 4
(line 49)
Documentation generated on Tue, 11 Jul 2006 12:17:18 -0500 by phpDocumentor 1.3.0RC6