addElement [line 279]
Appends an element to the container (possibly creating it first)
If the first parameter is an instance of HTML_QuickForm2_Node then all other parameters are ignored and the method just calls appendChild(). In the other case the element is first created via HTML_QuickForm2_Factory::createElement() and then added via the same method. This is a convenience method to reduce typing and ease porting from HTML_QuickForm.
Parameters:
appendChild [line 249]
arrayMerge [line 216]
array arrayMerge(
array
$a, array
$b)
|
|
Merges two arrays
Merges two arrays like the PHP function array_merge_recursive does, the difference being that existing integer keys will not be renumbered.
Parameters:
count [line 419]
Returns the number of elements in the container
getChildValues [line 136]
getElementById [line 330]
Returns an element if its id is found
Parameters:
getElements [line 233]
Returns an array of this container's elements
getElementsByName [line 347]
array getElementsByName(
string
$name)
|
|
Returns an array of elements which name corresponds to element
Parameters:
getIterator [line 395]
Returns a recursive iterator for the container elements
getJavascriptTriggers [line 539]
getJavascriptValue [line 528]
string getJavascriptValue(
[bool
$inContainer = false])
|
|
Returns Javascript code for getting the element's value
Overrides
HTML_QuickForm2_Node::getJavascriptValue() (Returns Javascript code for getting the element's value)
Parameters:
getRawValue [line 185]
array|null getRawValue(
)
|
|
Returns the container's value without filters applied
The default implementation for Containers is to return an array with contained elements' values. The array is indexed the same way $_GET and $_POST arrays would be for these elements.
Overrides
HTML_QuickForm2_Node::getRawValue() (Returns the element's value without filters applied)
getRecursiveIterator [line 407]
RecursiveIteratorIterator getRecursiveIterator(
[int
$mode = RecursiveIteratorIterator::SELF_FIRST])
|
|
Returns a recursive iterator iterator for the container elements
Parameters:
getValue [line 199]
Returns the container's value, possibly with filters applied
The default implementation for Containers is to return an array with contained elements' values. The array is indexed the same way $_GET and $_POST arrays would be for these elements.
Overrides
HTML_QuickForm2_Node::getValue() (Returns the element's value, possibly with filters applied)
insertBefore [line 368]
persistentFreeze [line 109]
prependsName [line 124]
removeChild [line 299]
render [line 500]
setName [line 93]
toggleFrozen [line 99]
updateValue [line 430]
validate [line 445]
__call [line 479]
Appends an element to the container, creating it first
The element will be created via HTML_QuickForm2_Factory::createElement() and then added via the appendChild() method. The element type is deduced from the method name. This is a convenience method to reduce typing.
Parameters:
__toString [line 511]