[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/vendor/symfony/http-foundation/ -> Cookie.php (summary)

(no description)

File Size: 188 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Cookie:: (10 methods):
  __construct()
  __toString()
  getName()
  getValue()
  getDomain()
  getExpiresTime()
  getPath()
  isSecure()
  isHttpOnly()
  isCleared()


Class: Cookie  - X-Ref

Represents a cookie.

__construct($name, $value = null, $expire = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true)   X-Ref

param: string                                  $name     The name of the cookie
param: string                                  $value    The value of the cookie
param: int|string|\DateTime|\DateTimeInterface $expire   The time the cookie expires
param: string                                  $path     The path on the server in which the cookie will be available on
param: string                                  $domain   The domain that the cookie is available to
param: bool                                    $secure   Whether the cookie should only be transmitted over a secure HTTPS connection from the client
param: bool                                    $httpOnly Whether the cookie will be made accessible only through the HTTP protocol

__toString()   X-Ref
Returns the cookie as a string.

return: string The cookie

getName()   X-Ref
Gets the name of the cookie.

return: string

getValue()   X-Ref
Gets the value of the cookie.

return: string

getDomain()   X-Ref
Gets the domain that the cookie is available to.

return: string

getExpiresTime()   X-Ref
Gets the time the cookie expires.

return: int

getPath()   X-Ref
Gets the path on the server in which the cookie will be available on.

return: string

isSecure()   X-Ref
Checks whether the cookie should only be transmitted over a secure HTTPS connection from the client.

return: bool

isHttpOnly()   X-Ref
Checks whether the cookie will be made accessible only through the HTTP protocol.

return: bool

isCleared()   X-Ref
Whether this cookie is about to be cleared.

return: bool



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1