$type
$type : string
Element type
Form datetime element class
__construct(string $name, string $value = null, string $indent = null) : \Pop\Form\Element\Input\DateTime
Constructor
Instantiate the email input form element
string | $name | |
string | $value | |
string | $indent |
setRequired(boolean $required) : \Pop\Form\Element\AbstractElement
Set whether the form element is required
boolean | $required |
setValue(mixed $value) : \Pop\Form\Element\AbstractElement
Set the value of the form element object
mixed | $value |
setName(string $name) : \Pop\Form\Element\AbstractElement
Set the name of the form element object
string | $name |
setMarked(mixed $marked) : \Pop\Form\Element\AbstractElement
Set the marked value of the form element object
mixed | $marked |
setLabel(string $label) : \Pop\Form\Element\AbstractElement
Set the label of the form element object
string | $label |
setHint(string $hint) : \Pop\Form\Element\AbstractElement
Set the hint of the form element object
string | $hint |
setLabelAttribute(string $a, string $v) : \Pop\Form\Element\AbstractElement
Set an attribute of the label of the form element object
string | $a | |
string | $v |
setLabelAttributes(array $attribs) : \Pop\Form\Element\AbstractElement
Set the attributes of the label of the form element object
array | $attribs |
setHintAttribute(string $a, string $v) : \Pop\Form\Element\AbstractElement
Set an attribute of the hint of the form element object
string | $a | |
string | $v |
setHintAttributes(array $attribs) : \Pop\Form\Element\AbstractElement
Set the attributes of the hint of the form element object
array | $attribs |
setErrorPre(boolean $pre = true) : \Pop\Form\Element\AbstractElement
Set error pre-display
boolean | $pre |
setErrorPost(boolean $post = true) : \Pop\Form\Element\AbstractElement
Set error post-display
boolean | $post |
setErrorDisplay(string $container, array $attribs = null, boolean $pre = false) : \Pop\Form\Element\AbstractElement
Set error display values
string | $container | |
array | $attribs | |
boolean | $pre |
setValidators(array $validators = array()) : \Pop\Form\Element\AbstractElement
Set validators
array | $validators |
clearErrors() : \Pop\Form\Element\AbstractElement
Clear errors
addValidator(mixed $validator) : \Pop\Form\Element\AbstractElement
Add a validator the form element
mixed | $validator |
addValidators(array $validators) : \Pop\Form\Element\AbstractElement
Add multiple validators the form element
array | $validators |
factory(array $c) : \Pop\Dom\Child
Static factory method to create a child object
array | $c |
setNodeName(string $name) : \Pop\Dom\Child
Set the child node name.
string | $name |
setNodeValue(string $value) : \Pop\Dom\Child
Set the child node value.
string | $value |
setAttribute(string $a, string $v) : \Pop\Dom\Child
Set an attribute for the child element object.
string | $a | |
string | $v |
setAttributes(array $a) : \Pop\Dom\Child
Set an attribute or attributes for the child element object.
array | $a |
removeAttribute(string $a) : \Pop\Dom\Child
Remove an attribute from the child element object
string | $a |
getChild(integer $i) : \Pop\Dom\Child
Get the child nodes of the object.
integer | $i |