public function UcAddressesSchemaAddress::getFieldData in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 class/UcAddressesSchemaAddress.class.php \UcAddressesSchemaAddress::getFieldData()
Returns "safe" field data.
@access public
Return value
array Address values that are safe for output.
File
- class/
UcAddressesSchemaAddress.class.php, line 355 - Contains the UcAddressesSchemaAddress class.
Class
- UcAddressesSchemaAddress
- The schema address class.
Code
public function getFieldData() {
$values = array();
$fields_data = self::getDefinedFields();
foreach ($fields_data as $fieldName => $fielddata) {
$instance = $this
->getHandler($fieldName);
$values[$fieldName] = $instance
->outputValue($this
->getField($fieldName));
}
return $values;
}