-
Inspekt
-
-
Inspekt.php
-
-
Inspekt_Cage
-
-
Inspekt_Cage
-
-
Inspekt_Error
-
Constructor
-
Inspekt_Error
-
Error handling for Inspekt
-
Inspekt_Supercage
-
The Supercage object wraps ALL of the superglobals
-
Inspekt_Supercage
-
Enter description here...
-
isAlnum
-
Returns TRUE if every character is alphabetic or a digit, FALSE otherwise.
-
isAlpha
-
Returns TRUE if every character is alphabetic, FALSE otherwise.
-
isBetween
-
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.
-
isCcnum
-
Returns TRUE if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
-
isDate
-
Returns TRUE if value is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
-
isDigits
-
Returns TRUE if every character is a digit, FALSE otherwise.
-
isEmail
-
Returns TRUE if value is a valid email format, FALSE otherwise.
-
isFloat
-
Returns TRUE if value is a valid float value, FALSE otherwise.
-
isGreaterThan
-
Returns TRUE if value is greater than $min, FALSE otherwise.
-
isHex
-
Returns TRUE if value is a valid hexadecimal format, FALSE otherwise.
-
isHostname
-
Returns TRUE if value is a valid hostname, FALSE otherwise.
-
isInt
-
Returns TRUE if value is a valid integer value, FALSE otherwise.
-
isIp
-
Returns TRUE if value is a valid IP format, FALSE otherwise.
-
isLessThan
-
Returns TRUE if value is less than $max, FALSE otherwise.
-
isOneOf
-
Returns TRUE if value is one of $allowed, FALSE otherwise.
-
isPhone
-
Returns TRUE if value is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
-
ISPK_ARRAY_PATH_SEPARATOR
-
-
ISPK_DNS_VALID
-
regex used to define what we're calling a valid domain name
-
ISPK_EMAIL_VALID
-
regex used to define what we're calling a valid email
-
ISPK_HOST_ALLOW_ALL
-
Options for isHostname() that specify which types of hostnames to allow.
-
ISPK_HOST_ALLOW_DNS
-
Options for isHostname() that specify which types of hostnames to allow.
-
ISPK_HOST_ALLOW_IP
-
Options for isHostname() that specify which types of hostnames to allow.
-
ISPK_HOST_ALLOW_LOCAL
-
Options for isHostname() that specify which types of hostnames to allow.
-
ISPK_URI_ALLOW_COMMON
-
Options for isUri that specify which types of URIs to allow.
-
isRegex
-
Returns TRUE if value matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
-
isUri
-
Enter description here...
-
isZip
-
Returns TRUE if value is a valid US ZIP, FALSE otherwise.
-
testAlnum
-
Returns value if every character is alphabetic or a digit, FALSE otherwise.
-
testAlpha
-
Returns value if every character is alphabetic, FALSE otherwise.
-
testBetween
-
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.
-
testCcnum
-
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
-
testDate
-
Returns $value if it is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
-
testDigits
-
Returns value if every character is a digit, FALSE otherwise.
-
testEmail
-
Returns value if it is a valid email format, FALSE otherwise.
-
testFloat
-
Returns value if it is a valid float value, FALSE otherwise.
-
testGreaterThan
-
Returns value if it is greater than $min, FALSE otherwise.
-
testHex
-
Returns value if it is a valid hexadecimal format, FALSE otherwise.
-
testHostname
-
Returns value if it is a valid hostname, FALSE otherwise.
-
testInt
-
Returns value if it is a valid integer value, FALSE otherwise.
-
testIp
-
Returns value if it is a valid IP format, FALSE otherwise.
-
testLessThan
-
Returns value if it is less than $max, FALSE otherwise.
-
testOneOf
-
Returns value if it is one of $allowed, FALSE otherwise.
-
testPhone
-
Returns value if it is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
-
testRegex
-
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
-
testUri
-
Enter description here...
-
testZip
-
Returns value if it is a valid US ZIP, FALSE otherwise.