MONTHS_SHORT
MONTHS_SHORT
Constant for months, short
Form select element class
setName(string  $name) : \Pop\Form\Element\AbstractElement
                Set the name of the form element object
| string | $name | 
setValue(mixed  $value) : \Pop\Form\Element\AbstractElement
                Set the value of the form element object
| mixed | $value | 
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 | 
setRequired(boolean  $required) : \Pop\Form\Element\Select
                Set whether the form element is required
| boolean | $required | 
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 | 
__construct(string $name, string|array $values, string $indent = null, array $config = null) : \Pop\Form\Element\Select
Constructor
Instantiate the select form element object
| string | $name | |
| string|array | $values | |
| string | $indent | |
| array | $config | 
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\Form\Element\Select
Set an attribute for the child element object
| string | $a | |
| string | $v | 
setAttributes(array  $a) : \Pop\Form\Element\Select
                Set 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 | 
setAsMultiple(boolean  $multiple = true) : \Pop\Form\Element\Select
                Set the select element as multiple
| boolean | $multiple |