SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Cookie

Eases reading and writing cookies.

Functions

NameVisibilityDescription
deletepublic (static)Nullify and unset a cookie.
getpublic (static)Fetch a cookie value
setpublic (static)Sets a cookie with the given parameters.

public delete

boolean Cookie::delete ( string $name [, string $path [, string $domain ]] );

Nullify and unset a cookie.

public get

string Cookie::get ( string $name [, mixed $default ] );

Fetch a cookie value

public set

boolean Cookie::set ( string $name [, string $value [, integer $expire [, string $path [, string $domain [, boolean $secure [, boolean $httponly ]]]]]] );

Sets a cookie with the given parameters.