__construct() __construct(string $value, array $attributes = array()) Parameters string $value array $attributes
fromString() fromString(string $itemValue) : self Builds an AcceptHeaderInstance instance from a string. Parameters string $itemValue Returns self
setValue() setValue(string $value) : $this Set the item value. Parameters string $value Returns $this
setQuality() setQuality(float $quality) : $this Set the item quality. Parameters float $quality Returns $this
setIndex() setIndex(integer $index) : $this Set the item index. Parameters integer $index Returns $this
hasAttribute() hasAttribute(string $name) : boolean Tests if an attribute exists. Parameters string $name Returns boolean
getAttribute() getAttribute(string $name, mixed $default = null) : mixed Returns an attribute by its name. Parameters string $name mixed $default Returns mixed
setAttribute() setAttribute(string $name, string $value) : $this Set an attribute. Parameters string $name string $value Returns $this