Located in /Zend/Filter.php (line 34)
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 value if every character is alphabetic or a digit, FALSE otherwise.
Returns value if every character is alphabetic, FALSE otherwise.
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.
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
Returns $value if it 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 value if it is a valid email format, FALSE otherwise.
Returns value if it is a valid float value, FALSE otherwise.
Returns value if it is greater than $min, FALSE otherwise.
Returns value if it is a valid hexadecimal format, FALSE otherwise.
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.
Returns value if it is a valid integer value, FALSE otherwise.
Returns value if it is a valid IP format, FALSE otherwise.
Returns value if it is less than $max, FALSE otherwise.
Returns value if it is a valid format for a person's name, FALSE otherwise.
Returns value if it is one of $allowed, FALSE otherwise.
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.
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
Returns TRUE if it 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 Sun, 29 Oct 2006 21:27:15 -0600 by phpDocumentor 1.3.0RC6