You are here

public function UcAddressesFieldHandler::mapValue in Ubercart Addresses 7

Set a fields value based on the output format.

Field handlers that support specific output formats should override this method.

Parameters

mixed $value: The formatted value.

string $format: (optional) The format in which the value exists.

See also

outputValue()

2 calls to UcAddressesFieldHandler::mapValue()
UcAddressesUcCountryFieldHandler::mapValue in handlers/ubercart.handlers.inc
Overrides UcAddressesFieldHandler::mapValue().
UcAddressesUcZoneFieldHandler::mapValue in handlers/ubercart.handlers.inc
Overrides UcAddressesFieldHandler::mapValue().
2 methods override UcAddressesFieldHandler::mapValue()
UcAddressesUcCountryFieldHandler::mapValue in handlers/ubercart.handlers.inc
Overrides UcAddressesFieldHandler::mapValue().
UcAddressesUcZoneFieldHandler::mapValue in handlers/ubercart.handlers.inc
Overrides UcAddressesFieldHandler::mapValue().

File

handlers/UcAddressesFieldHandler.class.php, line 317
Contains the UcAddressesFieldHandler class.

Class

UcAddressesFieldHandler
Base class for fields used in Ubercart Addresses.

Code

public function mapValue($value, $format = '') {
  $this
    ->setValue($value);
}