Rdio::__call PHP Method

__call() public method

public __call ( $method, $arguments )
    public function __call($method, $arguments)
    {
        // build the request
        if (count($arguments) > 0) {
            $params = $arguments[0];
        } else {
            $params = array();
        }
        $params['method'] = $method;
        // make the request
        $oauth = $this->_getOAuth();
        $oauth->fetch(RDIO_API_ENDPOINT, $params, OAUTH_HTTP_METHOD_POST);
        // parse the result
        return json_decode($oauth->getLastResponse(), FALSE);
    }