public function UcAddressesFieldHandler::setValue in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 handlers/UcAddressesFieldHandler.class.php \UcAddressesFieldHandler::setValue()
Sets value in the address object.
The default is that just setField() will be called, but other field handlers may want to handle the value differently.
@access public
Parameters
mixed $value: The value the field should get.
Return value
void
1 call to UcAddressesFieldHandler::setValue()
- UcAddressesFieldHandler::mapValue in handlers/
UcAddressesFieldHandler.class.php - Set a fields value based on the output format.
File
- handlers/
UcAddressesFieldHandler.class.php, line 246 - Contains the UcAddressesFieldHandler class.
Class
- UcAddressesFieldHandler
- Base class for fields used in Ubercart Addresses.
Code
public function setValue($value) {
$this->address
->setField($this->name, $value);
}