public function UCXF_Value::__get in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_Value.class.php \UCXF_Value::__get()
Get a member value
@access public
Parameters
string $member:
Return value
mixed
File
- class/
UCXF_Value.class.php, line 149 - Contains the UCXF_Value class.
Class
- UCXF_Value
- This class is used to keep track of all field values currently loaded.
Code
public function __get($member) {
switch ($member) {
case 'db_name':
if (empty($this->db_name)) {
if ($oField = $this
->getField()) {
$this->db_name = $oField->db_name;
return $oField->db_name;
}
}
break;
}
if (isset($this->{$member})) {
return $this->{$member};
}
return NULL;
}