Represent a HTML label element.
package |
Default |
---|
__construct(\Dotpay\Html\Node $element, string $llabel = '', string $rlabel = '')
string
A text which is displayed on the left side of the inside element
string
A text which is displayed on the right side of the inside element
__toString() : string
string
getAttribute(string $name) : mixed
string
The name of the attribute
mixed
getAttributeList() : string
string
getAttributes() : array
array
getElement() : \Dotpay\Html\Node
getLLabel() : string
string
getRLabel() : string
string
removeAttribute(string $name) : \Dotpay\Html\Node
setAttribute(string $name, mixed $value) : \Dotpay\Html\Node
string
The name of the attribute
mixed
The value of the attribute
\Dotpay\Html\Node
setLLabel(string $label) : \Dotpay\Html\Form\Label
setRLabel(string $label) : \Dotpay\Html\Form\Label
element : \Dotpay\Html\Node
llabel : string
var |
A text which is displayed on the left side of the inside element |
---|
string
rlabel : string
var |
A text which is displayed on the right side of the inside element |
---|
string
attributes : array
var |
List of all attributes of the node |
---|
array