Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Slim
Views
PhpRenderer
addAttribute
Slim\Views\PhpRenderer::addAttribute PHP 메소드
PhpRenderer 1 문서
파일 보기
프로젝트 열기: geggleto/slim-renderer
addAttribute()
공개
메소드
Add an attribute
public
addAttribute
(
$key
,
$value
)
$key
$value
public function addAttribute($key, $value) { $this->attributes[$key] = $value; }
PhpRenderer
__construct
addAttribute
fetch
getAttribute
getAttributes
getTemplatePath
protectedIncludeScope
render
setAttributes
setTemplatePath