Represent a HTML checkbox.
| package |
Default |
|---|
__construct(string $type = '', string $name = null)
stringA type of the element
stringA name of the element
__toString() : string
string
getAttribute(string $name) : mixed
stringThe name of the attribute
mixed
getAttributeList() : string
string
getAttributes() : array
array
getClass() : string
string
getData(string $name) : string
stringA name of data information
string
getInputType() : string
string
getName() : string
string
getType() : string
string
getValue() : mixed
mixed
removeAttribute(string $name) : \Dotpay\Html\Node
setAttribute(string $name, mixed $value) : \Dotpay\Html\Node
stringThe name of the attribute
mixedThe value of the attribute
\Dotpay\Html\Node
setClass(string $className) : \Dotpay\Html\Element
setData(string $name, string $value) : \Dotpay\Html\Element
stringA name of a value
stringA value to saving
\Dotpay\Html\Element
setInputType(string $type) : \Dotpay\Html\Form\Input
setName(string $name) : \Dotpay\Html\Element
setType(string $type) : \Dotpay\Html\Element
setValue(mixed $value) : \Dotpay\Html\Form\Input
type : string
| var |
A type of the element |
|---|
string
attributes : array
| var |
List of all attributes of the node |
|---|
array