MediaWiki  1.30.0
LocalisationUpdate\FileSystemFetcher Class Reference

Accesses file system directly. More...

Inheritance diagram for LocalisationUpdate\FileSystemFetcher:
Collaboration diagram for LocalisationUpdate\FileSystemFetcher:

Public Member Functions

 fetchDirectory ( $pattern)
 Fetch a list of resources. More...
 
 fetchFile ( $url)
 Fetches a single resource. More...
 

Detailed Description

Accesses file system directly.

Definition at line 13 of file FileSystemFetcher.php.

Member Function Documentation

◆ fetchDirectory()

LocalisationUpdate\FileSystemFetcher::fetchDirectory (   $pattern)

Fetch a list of resources.

This has the benefit of being able to pick up new languages as they appear if languages are stored in separate files.

Returns
array

Implements LocalisationUpdate\Fetcher.

Definition at line 25 of file FileSystemFetcher.php.

References as.

◆ fetchFile()

LocalisationUpdate\FileSystemFetcher::fetchFile (   $url)

Fetches a single resource.

Returns
bool|string False on failure.

Implements LocalisationUpdate\Fetcher.

Definition at line 14 of file FileSystemFetcher.php.


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