code: function setCookie ($name, $value = NULL, $expire = NULL, $path = '/', $domain = NULL, $secure = NULL, $http_only = FALSE)
  	{
  		$cookie[] = "{$name}={$value}";
  		if ($expire) $cookie[] = "expires=Tue, " . date("D, d-M-Y H:i:s T", $expire) . "";
  		if ($path) $cookie[] = "path={$path}";
  		if ($domain) $cookie[] = "domain={$domain}";
  		if ($http_only) $cookie[] = " httponly";
  
  		$this->cookie[] = join(';', $cookie);
  
  		return $this;
  	}
docs: cookie
  
  @param         $name
  @param null    $value
  @param null    $expire
  @param string  $path
  @param null    $domain
  @param null    $secure
  @param boolean $http_only
  
  @return object