public function UCXF_Value::output in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_Value.class.php \UCXF_Value::output()
Output value with filtering @access public
File
- class/
UCXF_Value.class.php, line 190 - Contains the UCXF_Value class.
Class
- UCXF_Value
- This class is used to keep track of all field values currently loaded.
Code
public function output() {
$field = $this
->getField();
if ($field instanceof UCXF_Field) {
return $field
->output_value($this->value);
}
return check_plain($this->value);
}