[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ResponseHeaderBag:: (14 methods):
  __construct()
  __toString()
  allPreserveCase()
  replace()
  set()
  remove()
  hasCacheControlDirective()
  getCacheControlDirective()
  setCookie()
  removeCookie()
  getCookies()
  clearCookie()
  makeDisposition()
  computeCacheControlValue()


Class: ResponseHeaderBag  - X-Ref

ResponseHeaderBag is a container for Response HTTP headers.

__construct(array $headers = array()   X-Ref
No description

__toString()   X-Ref
{@inheritdoc}


allPreserveCase()   X-Ref
Returns the headers, with original capitalizations.

return: array An array of headers

replace(array $headers = array()   X-Ref
{@inheritdoc}


set($key, $values, $replace = true)   X-Ref
{@inheritdoc}


remove($key)   X-Ref
{@inheritdoc}


hasCacheControlDirective($key)   X-Ref
{@inheritdoc}


getCacheControlDirective($key)   X-Ref
{@inheritdoc}


setCookie(Cookie $cookie)   X-Ref
No description

removeCookie($name, $path = '/', $domain = null)   X-Ref
Removes a cookie from the array, but does not unset it in the browser.

param: string $name
param: string $path
param: string $domain

getCookies($format = self::COOKIES_FLAT)   X-Ref
Returns an array with all cookies.

param: string $format
return: Cookie[]

clearCookie($name, $path = '/', $domain = null, $secure = false, $httpOnly = true)   X-Ref
Clears a cookie in the browser.

param: string $name
param: string $path
param: string $domain
param: bool   $secure
param: bool   $httpOnly

makeDisposition($disposition, $filename, $filenameFallback = '')   X-Ref
Generates a HTTP Content-Disposition field-value.

param: string $disposition      One of "inline" or "attachment"
param: string $filename         A unicode string
param: string $filenameFallback A string containing only ASCII characters that
return: string A string suitable for use as a Content-Disposition field-value

computeCacheControlValue()   X-Ref
Returns the calculated value of the cache-control header.

This considers several other headers and calculates or modifies the
cache-control header to a sensible, conservative value.

return: string



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