You are here

public function UCXF_Value::output in Extra Fields Checkout Pane 6.2

Same name and namespace in other branches
  1. 7 class/UCXF_Value.class.php \UCXF_Value::output()

Output value with filtering @access public

File

class/UCXF_Value.class.php, line 191
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);
}