[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ResponseHeaderBag:: (16 methods):
  __construct()
  allPreserveCase()
  allPreserveCaseWithoutCookies()
  replace()
  all()
  set()
  remove()
  hasCacheControlDirective()
  getCacheControlDirective()
  setCookie()
  removeCookie()
  getCookies()
  clearCookie()
  makeDisposition()
  computeCacheControlValue()
  initDate()


Class: ResponseHeaderBag  - X-Ref

ResponseHeaderBag is a container for Response HTTP headers.

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

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

return: array An array of headers

allPreserveCaseWithoutCookies()   X-Ref
No description

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


all()   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
param: string $sameSite

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

initDate()   X-Ref
No description



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1