OCA\Richdocuments\Db::__call PHP Method

__call() public method

public __call ( $name, $arguments )
    public function __call($name, $arguments)
    {
        if (substr($name, 0, 3) === 'get') {
            $requestedProperty = substr($name, 3);
            $property = strtolower(preg_replace('/(.)([A-Z])/', "\$1_\$2", $requestedProperty));
            if (isset($this->data[$property])) {
                return $this->data[$property];
            }
        }
        return null;
    }