input_cookieInput cookie class.
This class defines an input cookie, it handles input validation, and setting and retrieving the cookies value.
Located in /input.cookie.php (line 37)
input_base | --input_cookie
input_cookie
input_cookie
(string $name, [string $regex = NULL], [string $value = NULL], [int $expire = INFUSE_COOKIE_EXPIRE], [string $path = INFUSE_COOKIE_PATH], [string $domain = INFUSE_COOKIE_DOMAIN], [bool $secure = INFUSE_COOKIE_SECURE])
string
$domain
(line 58)
The domain the cookie is valid for.
int
$expire
(line 44)
How long til the cookie expires in seconds.
string
$path
(line 51)
The path the cookie is valid for.
bool
$secure
(line 65)
Whether the cookie should only be sent over secure HTTP.
Inherited from input_base
input_base::$default
input_base::$name
input_base::$regex
input_base::$required
input_base::$value
input_base::$wasSet
input_base::$wasValid
Constructor input_cookie (line 83)
Constructs a new cookie object.
delete (line 131)
Delete the cookie from the client.
reset (line 100)
Reset to default value
set (line 111)
Sets the value of the cookie object.
testCookie (line 149)
Test browser support for cookies.
Inherited From input_base
input_base::input_base()
input_base::reset()
input_base::set()
Documentation generated on Fri, 28 Jan 2005 10:00:55 -0800 by phpDocumentor 1.2.3