API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
Auth_Yadis_HTTPFetcher::_findRedirect | ( | $ | headers | ) |
private
Auth_Yadis_HTTPFetcher::allowedURL | ( | $ | url | ) |
Return whether a URL should be allowed. Override this method to conform to your local policy.
By default, will attempt to fetch any http or https URL.
Auth_Yadis_HTTPFetcher::canFetchURL | ( | $ | url | ) |
Return whether a URL can be fetched. Returns false if the URL scheme is not allowed or is not supported by this fetcher implementation; returns true otherwise.
Auth_Yadis_HTTPFetcher::get | ( | $ | url, |
$ | headers | ||
) |
Fetches the specified URL using optional extra headers and returns the server's response.
string | $url | The URL to be fetched. |
array | $extra_headers | An array of header strings (e.g. "Accept: text/html"). |
Réimplémentée dans Auth_Yadis_ParanoidHTTPFetcher, et Auth_Yadis_PlainHTTPFetcher.
Auth_Yadis_HTTPFetcher::isHTTPS | ( | $ | url | ) |
Is this an https URL?
private
Auth_Yadis_HTTPFetcher::supportsSSL | ( | ) |
Does this fetcher implementation (and runtime) support fetching HTTPS URLs? May inspect the runtime environment.
Réimplémentée dans Auth_Yadis_ParanoidHTTPFetcher, et Auth_Yadis_PlainHTTPFetcher.
Auth_Yadis_HTTPFetcher::URLHasAllowedScheme | ( | $ | url | ) |
Is this an http or https URL?
private
Auth_Yadis_HTTPFetcher::$timeout = 20 |