[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

AcceptHeaderItem:: (13 methods):
  __construct()
  fromString()
  __toString()
  setValue()
  getValue()
  setQuality()
  getQuality()
  setIndex()
  getIndex()
  hasAttribute()
  getAttribute()
  getAttributes()
  setAttribute()


Class: AcceptHeaderItem  - X-Ref

Represents an Accept-* header item.

__construct($value, array $attributes = array()   X-Ref

param: string $value
param: array  $attributes

fromString($itemValue)   X-Ref
Builds an AcceptHeaderInstance instance from a string.

param: string $itemValue
return: self

__toString()   X-Ref
Returns header value's string representation.

return: string

setValue($value)   X-Ref
Set the item value.

param: string $value
return: $this

getValue()   X-Ref
Returns the item value.

return: string

setQuality($quality)   X-Ref
Set the item quality.

param: float $quality
return: $this

getQuality()   X-Ref
Returns the item quality.

return: float

setIndex($index)   X-Ref
Set the item index.

param: int $index
return: $this

getIndex()   X-Ref
Returns the item index.

return: int

hasAttribute($name)   X-Ref
Tests if an attribute exists.

param: string $name
return: bool

getAttribute($name, $default = null)   X-Ref
Returns an attribute by its name.

param: string $name
param: mixed  $default
return: mixed

getAttributes()   X-Ref
Returns all attributes.

return: array

setAttribute($name, $value)   X-Ref
Set an attribute.

param: string $name
param: string $value
return: $this



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1