Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter Class Reference

Store params for MessageUpdateJob. More...

Inheritance diagram for MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter:

Public Member Functions

 __construct (array $params)
 
 getPageName ()
 
 isRename ()
 
 getReplacementValue ()
 
 getTargetValue ()
 
 getContent ()
 
 isFuzzy ()
 
 getOtherLangs ()
 

Static Public Member Functions

static newFromJsonArray (JsonUnserializer $unserializer, array $params)
 
static createFromJob (MessageUpdateJob $job)
 Create a new instance of the class from MessageUpdateJob.
 

Protected Member Functions

 toJsonArray ()
 

Detailed Description

Store params for MessageUpdateJob.

Author
Abijeet Patro @license GPL-2.0-or-later
Since
2020.06

Definition at line 18 of file MessageUpdateParameter.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::__construct ( array $params)

Definition at line 36 of file MessageUpdateParameter.php.

Member Function Documentation

◆ createFromJob()

static MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::createFromJob ( MessageUpdateJob $job)
static

Create a new instance of the class from MessageUpdateJob.

Definition at line 94 of file MessageUpdateParameter.php.

◆ getContent()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::getContent ( )

Definition at line 56 of file MessageUpdateParameter.php.

◆ getOtherLangs()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::getOtherLangs ( )

Definition at line 64 of file MessageUpdateParameter.php.

◆ getPageName()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::getPageName ( )

Definition at line 40 of file MessageUpdateParameter.php.

◆ getReplacementValue()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::getReplacementValue ( )

Definition at line 48 of file MessageUpdateParameter.php.

◆ getTargetValue()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::getTargetValue ( )

Definition at line 52 of file MessageUpdateParameter.php.

◆ isFuzzy()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::isFuzzy ( )

Definition at line 60 of file MessageUpdateParameter.php.

◆ isRename()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::isRename ( )

Definition at line 44 of file MessageUpdateParameter.php.

◆ newFromJsonArray()

static MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::newFromJsonArray ( JsonUnserializer $unserializer,
array $params )
static

Definition at line 68 of file MessageUpdateParameter.php.

◆ toJsonArray()

MediaWiki\Extension\Translate\Synchronization\MessageUpdateParameter::toJsonArray ( )
protected
Returns
mixed[]

Definition at line 73 of file MessageUpdateParameter.php.


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