public function getResourceInfo($behaviour, $apiUrl, $url, array $params = array())
    {
        if ($behaviour === false) {
            return array();
        }

        return $this->lookup($this->constructUrl($apiUrl, array_merge($params, array('url' => $url))));
    }
public function getResourceInfo($behaviour, $apiUrl, $url, array $params = array())
    {
        if ($behaviour === false) {
            return array();
        }

        return $this->lookup($this->constructUrl($apiUrl, array_merge($params, array('url' => $url))));
    }
public function getResourceInfo ( $ behaviour , $ apiUrl , $ url , array $ params = array ( ) ) { if ( $ behaviour === false ) { return array ( ) ; } return $ this -> lookup ( $ this -> constructUrl ( $ apiUrl , array_merge ( $ params , array ( 'url' => $ url ) ) ) ) ; }
Gets information about a resource

@param bool $behaviour Wether or not to use fake responses only
@param string $apiUrl The Url to the Oembed provider
@param string $url    The original url, we want information from
@param array $params  An associative array with parameters to be sent to the
Oembed provider.
@return array
Gets information about a resource