MediaWiki  1.34.0
LocalisationUpdate\HttpFetcher Class Reference

Fetches files over HTTP(s). More...

Inheritance diagram for LocalisationUpdate\HttpFetcher:
Collaboration diagram for LocalisationUpdate\HttpFetcher:

Public Member Functions

 fetchDirectory ( $pattern)
 This is horribly inefficient. More...
 
 fetchFile ( $url)
 

Detailed Description

Fetches files over HTTP(s).

Definition at line 13 of file HttpFetcher.php.

Member Function Documentation

◆ fetchDirectory()

LocalisationUpdate\HttpFetcher::fetchDirectory (   $pattern)

This is horribly inefficient.

Subclasses have more efficient implementation of this.

Parameters
string$pattern
Returns
array

Implements LocalisationUpdate\Fetcher.

Reimplemented in LocalisationUpdate\GitHubFetcher.

Definition at line 29 of file HttpFetcher.php.

References $file, $languages, and Language\fetchLanguageNames().

◆ fetchFile()

LocalisationUpdate\HttpFetcher::fetchFile (   $url)
Parameters
string$url
Returns
bool|string

Implements LocalisationUpdate\Fetcher.

Definition at line 19 of file HttpFetcher.php.


The documentation for this class was generated from the following file: