You are here

public function UCXF_Field::__get in Extra Fields Checkout Pane 7

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

Getter

@access public

Parameters

string $p_sMember:

Return value

mixed

2 calls to UCXF_Field::__get()
UCXF_Field::output in class/UCXF_Field.class.php
Output a value with filtering
UCXF_Field::to_array in class/UCXF_Field.class.php
Return as an array of values. @access public

File

class/UCXF_Field.class.php, line 164
Contains the UCXF_Field class.

Class

UCXF_Field
Base class for a Extra Fields Pane field

Code

public function __get($p_sMember) {
  switch ($p_sMember) {
    case 'id':
      return $this
        ->__get('field_id');
    case 'pane_type':
      return implode('|', $this->pane_types);
    case 'pane_types':
      return $this->pane_types;
    default:
      if (isset($this->{$p_sMember})) {
        return $this->{$p_sMember};
      }
      break;
  }
  return NULL;
}