[Inspekt] element index

All elements
c e f g i k m n p r s t _
_
top
$_autofilter_conf
$_source
_applyAutoFilters
_getValue
Retrieves a value from the _source array
_getValueRecursive
_keyExistsRecursive
_makeCages
Enter description here...
_setSource
_setValue
Sets a value in the _source array
_setValueRecursive
_walkArray
Inspekt::_walkArray() in Inspekt.php
Recursively walks an array and applies a given filter method to every value in the array.
c
top
$cookie
The cookie cage
Cage.php
Cage.php in Cage.php
e
top
$env
Inspekt_Supercage::$env in Supercage.php
The env cage
Error.php
Error.php in Error.php
f
top
$files
Inspekt_Supercage::$files in Supercage.php
The files cage
Factory
Enter description here...
Factory
Takes an array and wraps it inside an object. If $strict is not set to FALSE, the original array will be destroyed, and the data can only be accessed via the object's accessor methods
g
top
$get
Inspekt_Supercage::$get in Supercage.php
The get cage
getAlnum
Inspekt::getAlnum() in Inspekt.php
Returns only the alphabetic characters and digits in value.
getAlnum
Returns only the alphabetic characters and digits in value.
getAlpha
Inspekt::getAlpha() in Inspekt.php
Returns only the alphabetic characters in value.
getAlpha
Returns only the alphabetic characters in value.
getDigits
Returns only the digits in value. This differs from getInt().
getDigits
Inspekt::getDigits() in Inspekt.php
Returns only the digits in value. This differs from getInt().
getDir
Returns dirname(value).
getDir
Inspekt::getDir() in Inspekt.php
Returns dirname(value).
getInt
Inspekt::getInt() in Inspekt.php
Returns (int) value.
getInt
Returns (int) value.
getPath
Inspekt::getPath() in Inspekt.php
Returns realpath(value).
getPath
Returns realpath(value).
getRaw
Returns value.
i
top
Inspekt
Inspekt in Inspekt.php
Inspekt.php
Inspekt.php in Inspekt.php
Inspekt_Cage
Inspekt_Cage
Inspekt_Cage in Cage.php
Inspekt_Error
Constructor
Inspekt_Error
Inspekt_Error in Error.php
Error handling for Inspekt
Inspekt_Supercage
Inspekt_Supercage in Supercage.php
The Supercage object wraps ALL of the superglobals
Inspekt_Supercage
Enter description here...
isAlnum
Inspekt::isAlnum() in Inspekt.php
Returns TRUE if every character is alphabetic or a digit, FALSE otherwise.
isAlpha
Inspekt::isAlpha() in Inspekt.php
Returns TRUE if every character is alphabetic, FALSE otherwise.
isBetween
Inspekt::isBetween() in Inspekt.php
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
Inspekt::isCcnum() in Inspekt.php
Returns TRUE if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
isDate
Inspekt::isDate() in Inspekt.php
Returns TRUE if value is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
isDigits
Inspekt::isDigits() in Inspekt.php
Returns TRUE if every character is a digit, FALSE otherwise.
isEmail
Inspekt::isEmail() in Inspekt.php
Returns TRUE if value is a valid email format, FALSE otherwise.
isFloat
Inspekt::isFloat() in Inspekt.php
Returns TRUE if value is a valid float value, FALSE otherwise.
isGreaterThan
Returns TRUE if value is greater than $min, FALSE otherwise.
isHex
Inspekt::isHex() in Inspekt.php
Returns TRUE if value is a valid hexadecimal format, FALSE otherwise.
isHostname
Inspekt::isHostname() in Inspekt.php
Returns TRUE if value is a valid hostname, FALSE otherwise.
isInt
Inspekt::isInt() in Inspekt.php
Returns TRUE if value is a valid integer value, FALSE otherwise.
isIp
Inspekt::isIp() in Inspekt.php
Returns TRUE if value is a valid IP format, FALSE otherwise.
isLessThan
Inspekt::isLessThan() in Inspekt.php
Returns TRUE if value is less than $max, FALSE otherwise.
isOneOf
Inspekt::isOneOf() in Inspekt.php
Returns TRUE if value is one of $allowed, FALSE otherwise.
isPhone
Inspekt::isPhone() in Inspekt.php
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
ISPK_DNS_VALID in Inspekt.php
regex used to define what we're calling a valid domain name
ISPK_EMAIL_VALID
ISPK_EMAIL_VALID in Inspekt.php
regex used to define what we're calling a valid email
ISPK_HOST_ALLOW_ALL
ISPK_HOST_ALLOW_ALL in Inspekt.php
Options for isHostname() that specify which types of hostnames to allow.
ISPK_HOST_ALLOW_DNS
ISPK_HOST_ALLOW_DNS in Inspekt.php
Options for isHostname() that specify which types of hostnames to allow.
ISPK_HOST_ALLOW_IP
ISPK_HOST_ALLOW_IP in Inspekt.php
Options for isHostname() that specify which types of hostnames to allow.
ISPK_HOST_ALLOW_LOCAL
ISPK_HOST_ALLOW_LOCAL in Inspekt.php
Options for isHostname() that specify which types of hostnames to allow.
ISPK_URI_ALLOW_COMMON
ISPK_URI_ALLOW_COMMON in Inspekt.php
Options for isUri that specify which types of URIs to allow.
isRegex
Inspekt::isRegex() in Inspekt.php
Returns TRUE if value matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
isUri
Inspekt::isUri() in Inspekt.php
Enter description here...
isZip
Inspekt::isZip() in Inspekt.php
Returns TRUE if value is a valid US ZIP, FALSE otherwise.
k
top
keyExists
Checks if a key exists
m
top
makeCookieCage
Returns the $_COOKIE data wrapped in an Inspekt_Cage object
makeEnvCage
Inspekt::makeEnvCage() in Inspekt.php
Returns the $_ENV data wrapped in an Inspekt_Cage object
makeFilesCage
Returns the $_FILES data wrapped in an Inspekt_Cage object
makeGetCage
Inspekt::makeGetCage() in Inspekt.php
Returns the $_GET data wrapped in an Inspekt_Cage object
makePostCage
Returns the $_POST data wrapped in an Inspekt_Cage object
makeServerCage
Returns the $_SERVER data wrapped in an Inspekt_Cage object
makeSessionCage
Returns the $_SESSION data wrapped in an Inspekt_Cage object
makeSuperCage
Returns a Supercage object, which wraps ALL input superglobals
n
top
noPath
Inspekt::noPath() in Inspekt.php
Returns basename(value).
noPath
Returns basename(value).
noTags
Inspekt::noTags() in Inspekt.php
Returns value with all tags removed.
noTags
Returns value with all tags removed.
p
top
$post
Inspekt_Supercage::$post in Supercage.php
The post cage
r
top
raiseError
Raises an error. In >= PHP5, this will throw an exception. In PHP4, this will trigger a user error.
raiseErrorPHP4
Triggers a user error for PHP4-compatibility
s
top
$server
$session
The session cage
Supercage.php
Supercage.php in Supercage.php
t
top
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.
c e f g i k m n p r s t _