MediaWiki
1.30.0
|
Fetches files over HTTP(s). More...
Public Member Functions | |
fetchDirectory ( $pattern) | |
This is horribly inefficient. More... | |
fetchFile ( $url) | |
Fetches a single resource. More... | |
Fetches files over HTTP(s).
Definition at line 13 of file HttpFetcher.php.
LocalisationUpdate\HttpFetcher::fetchDirectory | ( | $pattern | ) |
This is horribly inefficient.
Subclasses have more efficient implementation of this.
Implements LocalisationUpdate\Fetcher.
Reimplemented in LocalisationUpdate\GitHubFetcher.
Definition at line 22 of file HttpFetcher.php.
References $code, $languages, as, and Language\fetchLanguageNames().
LocalisationUpdate\HttpFetcher::fetchFile | ( | $url | ) |
Fetches a single resource.
Implements LocalisationUpdate\Fetcher.
Definition at line 14 of file HttpFetcher.php.