|
Previous Page |
Solar_Form |
Next Page |
setElement()
public
void
setElement (
string $name,
array $info,
string $array default NULL
)
Sets one element in the form.
Parameters
- (string)
$name: The element name to set or add; overrides $info['name']. - (array)
$info: Element information using the same keys as in Solar_Form::$_default_element. - (string)
$array: Rename the element as a key in this array.
Returns
- (void)
Description
Sets one element in the form.
Appends if element does not exist.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _populate()
- _prepareName()
- _values()
- addFilter()
- addFilters()
- addInvalid()
- addInvalids()
- apiVersion()
- dump()
- getStatus()
- getValue()
- getValues()
- load()
- locale()
- orderElements()
- populate()
- reset()
- setAttribs()
- setElement()
- setElements()
- setFilterLocaleObject()
- setStatus()
- setType()
- setValue()
- setValues()
- validate()