MediaWiki  1.34.0
LocalisationUpdate\Finder Class Reference

Interface for classes which provide list of components, which should be included for l10n updates. More...

Public Member Functions

 __construct ( $json, $core)
 
 getComponents ()
 

Private Member Functions

 getItem ( $dir, $subvalue)
 

Private Attributes

string $core
 
array $json
 

Detailed Description

Interface for classes which provide list of components, which should be included for l10n updates.

Definition at line 14 of file Finder.php.

Constructor & Destructor Documentation

◆ __construct()

LocalisationUpdate\Finder::__construct (   $json,
  $core 
)
Parameters
array$jsonSee $wgMessagesDirs
string$coreAbsolute path to MediaWiki core

Definition at line 29 of file Finder.php.

Member Function Documentation

◆ getComponents()

LocalisationUpdate\Finder::getComponents ( )
Returns
array

Definition at line 37 of file Finder.php.

References $matches.

◆ getItem()

LocalisationUpdate\Finder::getItem (   $dir,
  $subvalue 
)
private
Parameters
string$dirextensions or skins
string$subvalue
Returns
array|null

Definition at line 77 of file Finder.php.

References $matches.

Member Data Documentation

◆ $core

string LocalisationUpdate\Finder::$core
private

Definition at line 23 of file Finder.php.

◆ $json

array LocalisationUpdate\Finder::$json
private

Definition at line 18 of file Finder.php.


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