117 $this->name = (string)
$name;
134 $this->value = (string)
$value;
151 $this->expires = is_string($time) ? strtotime($time) : (int)$time;
168 $this->path = (string)
$path;
185 $this->domain = (string)
$domain;
getExpires()
Get cookie expiration time.
setName( $name)
Set cookie name.
setExpires( $time)
Set cookie expiration time.
setHttpOnly( $httponly)
Set whether cookie is sent with HTTP protocol only.
__construct( $name, $value=null, $expires=0, $path=null, $domain=null, $secure=false, $httponly=false)
Constructor.
setDomain( $domain)
Set cookie domain.
getHttpOnly()
Is cookie sent with HTTP protocol only?
getPath()
Get cookie path.
setPath( $path)
Set cookie path.
getDomain()
Get cookie domain.
setSecure( $secure)
Set whether cookie is sent only if SSL/HTTPS is used.
getValue()
Get cookie value.
getSecure()
Is cookie sent only if SSL/HTTPS is used?
setValue( $value)
Set cookie value.
getName()
Get cookie name.