Zend_FilterLocated in /Zend/Filter.php (line 34)
mixed
isBetween
(mixed $value, mixed $min, mixed $max, [mixed $inc = TRUE], mixed $key, boolean $inclusive)
getAlnum (line 69)
Returns only the alphabetic characters and digits in value.
getAlpha (line 58)
Returns only the alphabetic characters in value.
getDigits (line 80)
Returns only the digits in value. This differs from getInt().
getDir (line 91)
Returns dirname(value).
getInt (line 102)
Returns (int) value.
getPath (line 113)
Returns realpath(value).
isAlnum (line 125)
Returns value if every character is alphabetic or a digit, FALSE otherwise.
isAlpha (line 137)
Returns value if every character is alphabetic, FALSE otherwise.
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.
isCcnum (line 179)
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
isDate (line 212)
Returns $value if it is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
isDigits (line 226)
Returns value if every character is a digit, FALSE otherwise.
This is just like isInt(), except there is no upper limit.
isEmail (line 237)
Returns value if it is a valid email format, FALSE otherwise.
isFloat (line 250)
Returns value if it is a valid float value, FALSE otherwise.
isGreaterThan (line 267)
Returns value if it is greater than $min, FALSE otherwise.
isHex (line 279)
Returns value if it is a valid hexadecimal format, FALSE otherwise.
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.
isInt (line 358)
Returns value if it is a valid integer value, FALSE otherwise.
isIp (line 374)
Returns value if it is a valid IP format, FALSE otherwise.
isLessThan (line 386)
Returns value if it is less than $max, FALSE otherwise.
isName (line 398)
Returns value if it is a valid format for a person's name, FALSE otherwise.
isOneOf (line 409)
Returns value if it is one of $allowed, FALSE otherwise.
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.
isRegex (line 504)
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
isUri (line 509)
isZip (line 522)
Returns value if it is a valid US ZIP, FALSE otherwise.
noPath (line 544)
Returns basename(value).
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, 18 Apr 2006 11:55:02 -0700 by phpDocumentor 1.3.0RC3