public function UcAddressesFieldHandler::setValue in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 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
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);
}