Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Symfony
Component
Form
Form
hasAttribute
Symfony\Component\Form\Form::hasAttribute PHP Method
Form Class Documentation
显示文件
Open project: pmjones/php-framework-benchmarks
hasAttribute()
public
method
Returns whether the form has an attribute with the given name.
public
hasAttribute
(
string
$name
)
$name
string
The name of the attribute
public function hasAttribute($name) { return isset($this->attributes[$name]); }
Form
__clone
__construct
add
addError
appToNorm
bind
bindRequest
clientToNorm
count
createView
get
getAttribute
getChildren
getClientData
getClientTransformers
getData
getErrorBubbling
getErrors
getExtraData
getIterator
getName
getNormData
getNormTransformers
getParent
getRoot
getTypes
has
hasAttribute
hasChildren
hasErrors
hasParent
isBound
isEmpty
isReadOnly
isRequired
isRoot
isSynchronized
isValid
normToApp
normToClient
offsetExists
offsetGet
offsetSet
offsetUnset
remove
setData
setParent