Class Cookie

Description

Simple interface for setting and getting cookie values

  • version: 1.0

Located in /environment/classes/Cookie.class.php (line 9)


	
			
Method Summary
static mixed getValue (string $name, [mixed $default = null])
static null setValue (string $name, mixed $value, [integer $expiration = null])
static null unsetValue (string $name)
Methods
static method getValue (line 18)

Return value from the cookien

static mixed getValue (string $name, [mixed $default = null])
  • string $name: Variable name
  • mixed $default
static method setValue (line 30)

Set cookie value

static null setValue (string $name, mixed $value, [integer $expiration = null])
  • string $name: Variable name
  • mixed $value
  • integer $expiration: Number of seconds from current time when this cookie need to expire
static method unsetValue (line 51)

Unset specific cookie value

static null unsetValue (string $name)
  • string $name

Documentation generated on Wed, 23 Jan 2008 01:58:30 +0000 by phpDocumentor 1.4.0