You are here

public function UCXF_Value::getField in Extra Fields Checkout Pane 7

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

Get field @access public

Return value

UCXF_Field

2 calls to UCXF_Value::getField()
UCXF_Value::output in class/UCXF_Value.class.php
Output value with filtering @access public
UCXF_Value::__get in class/UCXF_Value.class.php
Get a member value

File

class/UCXF_Value.class.php, line 180
Contains the UCXF_Value class.

Class

UCXF_Value
This class is used to keep track of all field values currently loaded.

Code

public function getField() {
  if ($this->field_id) {
    return UCXF_FieldList::getFieldById($this->field_id);
  }
}