Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
web
HeaderCollection
fromArray
yii\web\HeaderCollection::fromArray PHP Method
HeaderCollection Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
fromArray()
public
method
Populates the header collection from an array.
Since:
2.0.3
public
fromArray
(
array
$array
)
$array
array
the headers to populate from
public function fromArray(array $array) { $this->_headers = $array; }
HeaderCollection
add
count
fromArray
get
getCount
getIterator
has
offsetExists
offsetGet
offsetSet
offsetUnset
remove
removeAll
set
setDefault
toArray