public function DBObject::__get in Entity Construction Kit (ECK) 7.3
Same name and namespace in other branches
- 7.2 eck.classes.inc \DBObject::__get()
Magic method.
File
- ./
eck.classes.inc, line 78 - Classes for all the different objects used in ECK.
Class
- DBObject
- @file Classes for all the different objects used in ECK.
Code
public function __get($var) {
if (property_exists($this, $var)) {
return $this->{$var};
}
return $this->data[$var];
}