Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
web
HeaderCollection
offsetSet
yii\web\HeaderCollection::offsetSet PHP 메소드
HeaderCollection 1 문서
파일 보기
프로젝트 열기: yiisoft/yii2
offsetSet()
공개
메소드
This method is required by the SPL interface [[\ArrayAccess]]. It is implicitly called when you use something like
$collection[$name] = $header;
. This is equivalent to
HeaderCollection::add
.
public
offsetSet
(
string
$name
,
string
$value
)
$name
string
the header name
$value
string
the header value to be added
public function offsetSet($name, $value) { $this->set($name, $value); }
HeaderCollection
add
count
fromArray
get
getCount
getIterator
has
offsetExists
offsetGet
offsetSet
offsetUnset
remove
removeAll
set
setDefault
toArray