Zend_FilterLocated in /library/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.
getLength (line 114)
Returns first $length characters of value.
getPath (line 125)
Returns realpath(value).
isAlnum (line 137)
Returns value if every character is alphabetic or a digit, FALSE otherwise.
isAlpha (line 153)
Returns value if every character is alphabetic, FALSE otherwise.
isBetween (line 174)
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 199)
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
isDate (line 236)
Returns $value if it is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
isDigits (line 254)
Returns value if every character is a digit, FALSE otherwise.
This is just like isInt(), except there is no upper limit.
isEmail (line 269)
Returns value if it is a valid email format, FALSE otherwise.
isFloat (line 282)
Returns value if it is a valid float value, FALSE otherwise.
isGreaterThan (line 298)
Returns value if it is greater than $min, FALSE otherwise.
isHex (line 314)
Returns value if it is a valid hexadecimal format, FALSE otherwise.
isHostname (line 335)
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 397)
Returns value if it is a valid integer value, FALSE otherwise.
isIp (line 412)
Returns value if it is a valid IP format, FALSE otherwise.
isLength (line 430)
Returns value if its length is greater than $min and less than $max, FALSE otherwise.
isLessThan (line 448)
Returns value if it is less than $max, FALSE otherwise.
isName (line 464)
Returns value if it is a valid format for a person's name, FALSE otherwise.
isOneOf (line 479)
Returns value if it is one of $allowed, FALSE otherwise.
isPhone (line 501)
Returns value if it is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
isRegex (line 583)
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
isUri (line 592)
isZip (line 605)
Returns value if it is a valid US ZIP, FALSE otherwise.
noPath (line 631)
Returns basename(value).
noTags (line 620)
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 Wed, 08 Mar 2006 04:52:22 -0800 by phpDocumentor 1.3.0RC4