Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($value, array $attributes=array()) | |
__construct (string $value, array $attributes=[]) | |
__toString () | |
__toString () | |
getAttribute ($name, $default=null) | |
getAttribute ($name, $default=null) | |
getAttributes () | |
getAttributes () | |
getIndex () | |
getIndex () | |
getQuality () | |
getQuality () | |
getValue () | |
getValue () | |
hasAttribute ($name) | |
hasAttribute ($name) | |
setAttribute ($name, $value) | |
setAttribute ($name, $value) | |
setIndex ($index) | |
setIndex ($index) | |
setQuality ($quality) | |
setQuality ($quality) | |
setValue ($value) | |
setValue ($value) | |
Static Public Member Functions | |
static | fromString ($itemValue) |
static | fromString ($itemValue) |
Represents an Accept-* header item.
Definition at line 19 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::__construct | ( | $value, | |
array | $attributes = array() |
||
) |
Constructor.
string | $value | |
array | $attributes |
Definition at line 59 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
References Symfony\Component\HttpFoundation\AcceptHeaderItem\setAttribute().
Symfony\Component\HttpFoundation\AcceptHeaderItem::__construct | ( | string | $value, |
array | $attributes = [] |
||
) |
Definition at line 26 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
References Symfony\Component\HttpFoundation\AcceptHeaderItem\setAttribute().
Symfony\Component\HttpFoundation\AcceptHeaderItem::__toString | ( | ) |
Returns header value's string representation.
Definition at line 56 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::__toString | ( | ) |
Returns header value's string representation.
Definition at line 101 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
|
static |
Builds an AcceptHeaderInstance instance from a string.
string | $itemValue |
Definition at line 41 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
References Symfony\Component\HttpFoundation\HeaderUtils\combine(), and Symfony\Component\HttpFoundation\HeaderUtils\split().
|
static |
Builds an AcceptHeaderInstance instance from a string.
string | $itemValue |
Definition at line 74 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Referenced by Symfony\Component\HttpFoundation\AcceptHeader\fromString(), and Symfony\Component\HttpFoundation\Tests\AcceptHeaderItemTest\testFromString().
Symfony\Component\HttpFoundation\AcceptHeaderItem::getAttribute | ( | $name, | |
$default = null |
|||
) |
Returns an attribute by its name.
string | $name | |
mixed | $default |
Definition at line 158 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getAttribute | ( | $name, | |
$default = null |
|||
) |
Returns an attribute by its name.
string | $name | |
mixed | $default |
Definition at line 205 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getAttributes | ( | ) |
Returns all attributes.
Definition at line 168 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getAttributes | ( | ) |
Returns all attributes.
Definition at line 215 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getIndex | ( | ) |
Returns the item index.
Definition at line 133 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getIndex | ( | ) |
Returns the item index.
Definition at line 180 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getQuality | ( | ) |
Returns the item quality.
Definition at line 109 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getQuality | ( | ) |
Returns the item quality.
Definition at line 156 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getValue | ( | ) |
Returns the item value.
Definition at line 85 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::getValue | ( | ) |
Returns the item value.
Definition at line 132 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Referenced by Symfony\Component\HttpFoundation\AcceptHeader\add(), and Symfony\Component\HttpFoundation\AcceptHeader\filter().
Symfony\Component\HttpFoundation\AcceptHeaderItem::hasAttribute | ( | $name | ) |
Tests if an attribute exists.
string | $name |
Definition at line 145 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::hasAttribute | ( | $name | ) |
Tests if an attribute exists.
string | $name |
Definition at line 192 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setAttribute | ( | $name, | |
$value | |||
) |
Set an attribute.
string | $name | |
string | $value |
Definition at line 181 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setAttribute | ( | $name, | |
$value | |||
) |
Set an attribute.
string | $name | |
string | $value |
Definition at line 228 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Referenced by Symfony\Component\HttpFoundation\AcceptHeaderItem\__construct().
Symfony\Component\HttpFoundation\AcceptHeaderItem::setIndex | ( | $index | ) |
Set the item index.
int | $index |
Definition at line 121 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setIndex | ( | $index | ) |
Set the item index.
int | $index |
Definition at line 168 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setQuality | ( | $quality | ) |
Set the item quality.
float | $quality |
Definition at line 97 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setQuality | ( | $quality | ) |
Set the item quality.
float | $quality |
Definition at line 144 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setValue | ( | $value | ) |
Set the item value.
string | $value |
Definition at line 73 of file vendor/symfony/http-foundation/AcceptHeaderItem.php.
Symfony\Component\HttpFoundation\AcceptHeaderItem::setValue | ( | $value | ) |
Set the item value.
string | $value |
Definition at line 120 of file lib/vendor/symfony/http-foundation/AcceptHeaderItem.php.