Library 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 |
---|---|
![]() |
Base input element class - for forms, cookies, and session vars |
![]() |
Base input element class for form elements |
Check for values in $_COOKIE.
Check for values in order: $_POST, $_GET.
Check for values in $_GET.
Check for values in order: $_SESSION, $_POST, $_GET.
Infuse library version
Check for values in $_POST.
Check for values in $_SERVER.
Check for values in $_SESSION.
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.
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);
Return a guess about the length required by a given regex.
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