$nodeName
$nodeName : string
Child element node name
Form fieldset class
$parent : \Pop\Dom\AbstractNode
Parent node
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 |
createFromConfig(array $config) : \Pop\Form\Fieldset
Method to create form fieldset object and fields from config
array | $config |
setContainer(string $container) : \Pop\Form\Fieldset
Method to set container
string | $container |
setCurrent(integer $i) : \Pop\Form\Fieldset
Method to get current group index
integer | $i |
createGroup() : \Pop\Form\Fieldset
Method to create new group
addField(\Pop\Form\Element\AbstractElement $field) : \Pop\Form\Fieldset
Method to add a form field
\Pop\Form\Element\AbstractElement | $field |
addFields(array $fields) : \Pop\Form\Fieldset
Method to add form fields
array | $fields |
insertFieldBefore(string $name, \Pop\Form\Element\AbstractElement $field) : \Pop\Form\Fieldset
Method to insert a field before another one
string | $name | |
\Pop\Form\Element\AbstractElement | $field |
insertFieldAfter(string $name, \Pop\Form\Element\AbstractElement $field) : \Pop\Form\Fieldset
Method to insert a field after another one
string | $name | |
\Pop\Form\Element\AbstractElement | $field |
getField(string $name) : \Pop\Form\Element\AbstractElement
Method to get a field element object
string | $name |
setLegend(string $legend) : \Pop\Form\Fieldset
Method to set fieldset legend
string | $legend |
setFieldValue(string $name, mixed $value) : \Pop\Form\Fieldset
Method to set a field element value
string | $name | |
mixed | $value |
setFieldValues(array $values) : \Pop\Form\Fieldset
Method to set field element values
array | $values |
prepare() : \Pop\Form\Fieldset
Prepare fieldset object for rendering