[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

File Size: 302 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
Constructor.

param: array $headers An array of HTTP headers

__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
Sets a cookie.

param: Cookie $cookie

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: array

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

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

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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1