You are here

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

Same name and namespace in other branches
  1. 7 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 181
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);
  }
}