|
Previous Page |
Solar_Form |
Next Page |
setValue()
public
void
setValue (
string $name,
mixes $value,
string $array default NULL
)
Manually set the value of one element.
Parameters
- (string)
$name: The element name. - (mixes)
$value: Set the element to this value. - (string)
$array: Rename the element as a key in this array.
Returns
- (void)
Description
Manually set the value of one element.
Note that this is subtly different from populate(). This method takes full name of the element, whereas populate() takes a "natural" hierarchical array like $_POST.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _populate()
- _prepareName()
- _values()
- addFilter()
- addFilters()
- addInvalid()
- addInvalids()
- apiVersion()
- dump()
- getStatus()
- getValues()
- load()
- locale()
- orderElements()
- populate()
- reset()
- setElement()
- setElements()
- setStatus()
- setValue()
- setValues()
- validate()