PHPLights/Documentation/liblights/LsCookie

From Linuxnetworks
< PHPLights‎ | Documentation‎ | liblights
Revision as of 17:14, 22 September 2007 by Nose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

class LsCookie
{
  const Value = 0;
  const Expire = 1;
  const Path = 2;
  const Domain = 3;
  const Secure = 4;
  const HttpOnly = 5;

  protected $name = NULL;
  protected $value = false;
  protected $expire = 0;
  protected $path = NULL;
  protected $domain = NULL;
  protected $secure = false;
  protected $httponly = true;

  public function __construct( $name, $value = false, $expire = 0 )
  public function get( $code )
  public function set( $code, $value )
  public function send()
}

Description

Public functions

__construct()

public function __construct( $name, $value = false, $expire = 0 )

get()

public function get( $code )

set()

public function set( $code, $value )

send()

public function send()



Back to Overview