MediaWiki  1.33.0
LocalisationUpdate\Finder Class Reference

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

Collaboration diagram for LocalisationUpdate\Finder:

Public Member Functions

 __construct ( $php, $json, $core)
 
 getComponents ()
 

Private Member Functions

 getItem ( $dir, $subvalue)
 

Private Attributes

string $core
 
array $json
 
array $php
 

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 35 of file Finder.php.

References json, and php.

Member Function Documentation

◆ getComponents()

LocalisationUpdate\Finder::getComponents ( )
Returns
array

Definition at line 44 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 111 of file Finder.php.

References $matches.

Member Data Documentation

◆ $core

string LocalisationUpdate\Finder::$core
private

Definition at line 29 of file Finder.php.

◆ $json

array LocalisationUpdate\Finder::$json
private

Definition at line 24 of file Finder.php.

◆ $php

array LocalisationUpdate\Finder::$php
private

Definition at line 19 of file Finder.php.


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