Located in /Zend/Filter.php (line 32)
Returns only the alphabetic characters and digits in value.
Returns only the alphabetic characters in value.
Returns only the digits in value. This differs from getInt().
Returns dirname(value).
Returns (int) value.
Returns realpath(value).
Returns TRUE if every character is alphabetic or a digit, FALSE otherwise.
Returns TRUE if every character is alphabetic, FALSE otherwise.
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.
Returns TRUE if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
Returns TRUE if value is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
Returns TRUE if every character is a digit, FALSE otherwise.
This is just like isInt(), except there is no upper limit.
Returns TRUE if value is a valid email format, FALSE otherwise.
Returns TRUE if value is a valid float value, FALSE otherwise.
Returns TRUE if value is greater than $min, FALSE otherwise.
Returns TRUE if value is a valid hexadecimal format, FALSE otherwise.
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.
Returns TRUE if value is a valid integer value, FALSE otherwise.
Returns TRUE if value is a valid IP format, FALSE otherwise.
Returns TRUE if value is less than $max, FALSE otherwise.
Returns TRUE if value is one of $allowed, FALSE otherwise.
Returns TRUE if value 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.
Returns TRUE if value matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
Returns TRUE if value is a valid US ZIP, FALSE otherwise.
Returns basename(value).
Returns value with all tags removed.
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.
Documentation generated on Thu, 18 Jan 2007 09:53:45 -0800 by phpDocumentor 1.3.1