Class Allow

Summary

Fully Qualified Name: Zend\Http\Header\Allow
Implements: HeaderInterface

Description

Allow Header

Methods

Name Description Defined By
allowMethods() Allow methods or list of methods Allow
denyMethods() Convenience alias for @see disallowMethods() Allow
disallowMethods() Disallow methods or list of methods Allow
fromString() Create Allow header from header line Allow
getAllMethods() Get list of all defined methods Allow
getAllowedMethods() Get list of allowed methods Allow
getFieldName() Get header name Allow
getFieldValue() Get comma-separated list of allowed methods Allow
isAllowedMethod() Check whether method is allowed Allow
toString() Return header as string Allow

Method Details

allowMethods()

Allow methods or list of methods

Parameter Name Type Description
$allowedMethods array|string

Returns: \Allow

denyMethods()

Convenience alias for @see disallowMethods()

Parameter Name Type Description
$disallowedMethods array|string

Returns: \Allow

disallowMethods()

Disallow methods or list of methods

Parameter Name Type Description
$disallowedMethods array|string

Returns: \Allow

fromString()

Create Allow header from header line

Parameter Name Type Description
$headerLine string

Returns: \Allow

getAllMethods()

Get list of all defined methods

Returns: array

getAllowedMethods()

Get list of allowed methods

Returns: array

getFieldName()

Get header name

Returns: string

getFieldValue()

Get comma-separated list of allowed methods

Returns: string

isAllowedMethod()

Check whether method is allowed

Parameter Name Type Description
$method string

Returns: bool

toString()

Return header as string

Returns: string

Top