/input.lib.phpLibrary for management of user form input.
Ensures incoming variables are cleaned up, provides base input class used by other elements for value manipulation.
| Class | Description |
|---|---|
input_base
|
Base input element class - for forms, cookies, and session vars |
input_form_element
|
Base input element class for form elements |
INFUSE_COOKIE = 4
(line 31)
Check for values in $_COOKIE.
INFUSE_FORM = 6
(line 35)
Check for values in order: $_POST, $_GET.
INFUSE_GET = 1
(line 25)
Check for values in $_GET.
INFUSE_INORDER = 0
(line 23)
Check for values in order: $_SESSION, $_POST, $_GET.
INFUSE_LIB_VERSION = 0.9
(line 20)
Infuse library version
INFUSE_POST = 2
(line 27)
Check for values in $_POST.
INFUSE_SERVER = 5
(line 33)
Check for values in $_SERVER.
INFUSE_SESSION = 3
(line 29)
Check for values in $_SESSION.
infuse_ensureIntInRange (line 371)
Make sure that the specified number lies between min and max.
If $value is null, or not an int, the method does nothing. If $value is less than $min, it is reset to $min. If $value is greater than $max, it is reset to $max.
infuse_getInputVar (line 304)
Search for the var $name in $_SESSION, $_POST, $_GET, $_COOKIE, or $_SERVER and set it, by reference, into a specified variable.
$search is an int value equal to one of the defined constants: INFUSE_INORDER, INFUSE_SESSION, INFUSE_FORM, INFUSE_POST, INFUSE_GET, INFUSE_COOKIE, INFUSE_SERVER.
If $search specifies a sequence (like INFUSE_INORDER or INFUSE_FORM), infuse_getInputVar will return the first value encountered.
example: infuse_getInputVar('username', $username, INFUSE_SESSION);
infuse_getRegexLength (line 390)
Return a guess about the length required by a given regex.
infuse_stripslashes (line 258)
Recursively strip slashes from the values of an array.
Documentation generated on Fri, 28 Jan 2005 10:00:56 -0800 by phpDocumentor 1.2.3