Habari\QueryRecord::__get PHP Method

__get() public method

function __get Handles getting virtual properties for this class
public __get ( string $name ) : mixed
$name string Name of the property
return mixed The set value or null if none exists
    public function __get($name)
    {
        $return = null;
        if (isset($this->newfields[$name])) {
            $return = $this->newfields[$name];
        } else {
            if (isset($this->fields[$name])) {
                $return = $this->fields[$name];
            }
        }
        $classname = strtolower(get_class($this));
        return Plugins::filter('get_' . $classname . '_' . $name, $return, $this);
    }