Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Contao
Widget
addAttribute
Contao\Widget::addAttribute PHP 메소드
Widget 1 문서
파일 보기
프로젝트 열기: contao/core-bundle
addAttribute()
공개
메소드
Add an attribute
public
addAttribute
(
string
$strName
,
mixed
$varValue
)
$strName
string
The attribute name
$varValue
mixed
The attribute value
public function addAttribute($strName, $varValue) { $this->arrAttributes[$strName] = $varValue; }
Widget
__construct
__get
__isset
__set
addAttribute
addAttributes
addError
addSubmit
generate
generateLabel
generateWithError
getAttribute
getAttributes
getAttributesFromDca
getEmptyStringOrNull
getEmptyStringOrNullByFieldType
getEmptyValue
getEmptyValueByFieldType
getErrorAsHTML
getErrorAsString
getErrors
getErrorsAsString
getPost
hasErrors
isChecked
isSelected
isValidOption
optionChecked
optionSelected
parse
submitInput
validate
validator