/** * Magic method to call $method with $params * * @param string $method * @param array $params * * @method mixed getCustomVariables * * @return string */ public function __call($method, $params) { $name = $this->_module . '.' . $method; return $this->_piwikInstance->queryApi($name, $params); }