createElement
Creates a new form element of the given type. Just like addElement, this method can take a variable number of parameters, depending on the type of element you're creating.
object &createElement(mixed $element) Parameter Type Description
$element mixed Either an element object or a string specifying the type of element.
If a string, then additional parameters can be included that vary depending on the type of element to add and that are used to create the element.
Post a comment