Class Ismo_Core_Cookie

Description

This class is supposted to make dealing with cookies easier.

Located in /Cookie.php (line 35)


	
			
Variable Summary
string $_domain
integer $_expire
string $_name
string $_path
boolean $_secure
string $_value
Method Summary
Ismo_Core_Cookie Ismo_Core_Cookie ([string $name = ''], [string $value = ''], integer $expire, [string $path = ''], [string $domain = ''], [boolean $secure = FALSE])
string getDomain ()
integer getExpire ()
string getName ()
mixed getPath ()
string getValue ()
boolean isSecure ()
void setDomain (string $domain)
void setExpire (integer $expire)
void setName (string $name)
void setPath (string $path)
void setSecure (boolean $secure)
void setValue (string $value)
Variables
string $_domain = '' (line 79)

The cookie's domain.

  • access: private
integer $_expire = 0 (line 61)

The cookie's expire time.

  • access: private
string $_name = '' (line 43)

The cookie's name.

  • access: private
string $_path = '' (line 70)

The cookie's path.

  • access: private
boolean $_secure = false (line 88)

The cookie's secure setting.

  • access: private
string $_value = '' (line 52)

The cookie's value.

  • access: private
Methods
Constructor Ismo_Core_Cookie (line 103)

Constructor

  • access: public
Ismo_Core_Cookie Ismo_Core_Cookie ([string $name = ''], [string $value = ''], integer $expire, [string $path = ''], [string $domain = ''], [boolean $secure = FALSE])
  • string $name: the name of the cookie
  • string $value: the value of the cookie
  • integer $expire: the expire time of the cookie
  • string $path: the cookie's path
  • string $domain: the cookie's domain
  • boolean $secure: is the cookie secure or not
getDomain (line 176)

Returns the cookie's domain or "" if it's not set.

  • return: the cookie's domain as a string or "" if it's not set
  • access: public
string getDomain ()
getExpire (line 149)

Returns the cookie's expire time or 0 if it's not set.

  • return: the cookie's expire time as a integer of 0 if it's not set
  • access: public
integer getExpire ()
getName (line 122)

Returns the cookie's name or "" if it's not set.

  • return: the cookie's name as a string or "" if it's not set
  • access: public
string getName ()
getPath (line 162)

Returns the cookie's path or "" if it's not set.

  • return: the cookie's path as a string or "" if it's not set
  • access: public
mixed getPath ()
getValue (line 135)

Returns the cookie's value or "" if it's not set.

  • return: the cookie's value as a string or "" if it's not set
  • access: public
string getValue ()
isSecure (line 189)

Returns whether the cookie is secure or not.

  • return: indicating whether the cookie is secure or not
  • access: public
boolean isSecure ()
setDomain (line 254)

Sets the cookie's domain.

  • access: public
void setDomain (string $domain)
  • string $domain: the cookie's domain
setExpire (line 228)

Sets the cookie's expire time.

  • access: public
void setExpire (integer $expire)
  • integer $expire: the cookie's expire time
setName (line 202)

Sets the cookie's name.

  • access: public
void setName (string $name)
  • string $name: the cookie's name
setPath (line 241)

Sets the cookie's path.

  • access: public
void setPath (string $path)
  • string $path: the cookie's path
setSecure (line 267)

Sets whether the cookie is secure or not.

  • access: public
void setSecure (boolean $secure)
  • boolean $secure: whether the cookie is secure or not
setValue (line 215)

Sets the cookie's value.

  • access: public
void setValue (string $value)
  • string $value: the cookie's value

Documentation generated on Mon, 14 Jun 2004 11:59:16 +0200 by phpDocumentor 1.3.0RC3