MONTHS_SHORT
MONTHS_SHORT
Constant for months, short
Form select element class
$parent : \Pop\Dom\AbstractNode
Parent node
setName(string $name) : \Pop\Form\Element\AbstractElement
Set the name of the form element object
string | $name |
setValue(mixed $value) : \Pop\Form\Element\Select
Set the selected value of the select form element
mixed | $value |
resetValue() : \Pop\Form\Element\Select
Reset the value of the form element
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) : \Pop\Form\Element\AbstractElement
Set error pre-display
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 |
create(string $name, string $value = null, array $options = array()) : \Pop\Dom\Child
Static factory method to create a child object
string | $name | |
string | $value | |
array | $options |
parseString(string $string) : \Pop\Dom\Child|array
Static method to parse an XML/HTML string
string | $string |
parseFile(string $file) : \Pop\Dom\Child
Static method to parse an XML/HTML string from a file
string | $file |
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 |
addNodeValue(string $value) : \Pop\Dom\Child
Add to the child node value
string | $value |
setAsCData(boolean $cData = true) : \Pop\Dom\Child
Set the child node value as CDATA
boolean | $cData |
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 |
setChildrenFirst(boolean $first = true) : \Pop\Dom\Child
Set whether child nodes render first, before the node value
boolean | $first |
preserveWhiteSpace(boolean $preserve = true) : \Pop\Dom\Child
Set whether to preserve whitespace
boolean | $preserve |
getParent() : \Pop\Dom\AbstractNode
Return the parent node
setParent(\Pop\Dom\AbstractNode $parent) : \Pop\Dom\AbstractNode
Set the parent node
\Pop\Dom\AbstractNode | $parent |
getChild(integer $i) : \Pop\Dom\Child
Get the child nodes of the object
integer | $i |