fromString()
getDirectives()
getFieldName()
getFieldValue()
setDirective()
toString()
$directives
$validDirectiveNames
Content Security Policy 1.0 Header
| link | http://www.w3.org/TR/CSP/ |
|---|
fromString(string $headerLine) : \Zend\Http\Header\self
stringThe header line to parse.
\Zend\Http\Header\Exception\InvalidArgumentException |
If the name field in the given header line does not match. |
|---|
\Zend\Http\Header\selfgetDirectives() : array
arraygetFieldName() : string
stringgetFieldValue() : string
stringsetDirective(string $name, array $sources) : \Zend\Http\Header\self
Reverses http://www.w3.org/TR/CSP/#parsing-1
stringThe directive name.
arrayThe source list.
\Zend\Http\Header\Exception\InvalidArgumentException |
If the name is not a valid directive name. |
|---|
\Zend\Http\Header\selftoString() : string
Returns in form of "NAME: VALUE"
string$directives : array
$validDirectiveNames : array