MediaWiki  1.30.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 ( $php, $json, $core)
 
 getComponents ()
 

Private Member Functions

 getItem ( $dir, $subvalue)
 

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 (   $php,
  $json,
  $core 
)
Parameters
array$phpSee $wgExtensionMessagesFiles
array$jsonSee $wgMessagesDirs
string$coreAbsolute path to MediaWiki core

Definition at line 20 of file Finder.php.

References core, json, and php.

Member Function Documentation

◆ getComponents()

LocalisationUpdate\Finder::getComponents ( )
Returns
array

Definition at line 29 of file Finder.php.

References $matches, $value, array(), as, json, and php.

◆ getItem()

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

Definition at line 96 of file Finder.php.

References $matches.


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