MediaWiki
1.34.0
|
Fetches files over HTTP(s). More...
Public Member Functions | |
fetchDirectory ( $pattern) | |
This is horribly inefficient. More... | |
fetchFile ( $url) | |
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.
string | $pattern |
Implements LocalisationUpdate\Fetcher.
Reimplemented in LocalisationUpdate\GitHubFetcher.
Definition at line 29 of file HttpFetcher.php.
References $file, $languages, and Language\fetchLanguageNames().
LocalisationUpdate\HttpFetcher::fetchFile | ( | $url | ) |
string | $url |
Implements LocalisationUpdate\Fetcher.
Definition at line 19 of file HttpFetcher.php.