Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\AggregateGroupManager Class Reference

Contains logic to store, validate, fetch aggregate groups created via Special:AggregateGroups. More...

Public Member Functions

 __construct (TitleFactory $titleFactory)
 
 supportsAggregation (MessageGroup $group)
 
 getTargetTitleByGroupId (string $groupId)
 
 getTargetTitleByGroup (MessageGroup $group)
 

Detailed Description

Contains logic to store, validate, fetch aggregate groups created via Special:AggregateGroups.

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

Definition at line 19 of file AggregateGroupManager.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\AggregateGroupManager::__construct ( TitleFactory $titleFactory)

Definition at line 22 of file AggregateGroupManager.php.

Member Function Documentation

◆ getTargetTitleByGroup()

MediaWiki\Extension\Translate\MessageGroupProcessing\AggregateGroupManager::getTargetTitleByGroup ( MessageGroup $group)
Exceptions
RuntimeExceptionIf MessageGroup::getRelatedPage returns null

Definition at line 43 of file AggregateGroupManager.php.

◆ getTargetTitleByGroupId()

MediaWiki\Extension\Translate\MessageGroupProcessing\AggregateGroupManager::getTargetTitleByGroupId ( string $groupId)

Definition at line 30 of file AggregateGroupManager.php.

◆ supportsAggregation()

MediaWiki\Extension\Translate\MessageGroupProcessing\AggregateGroupManager::supportsAggregation ( MessageGroup $group)

Definition at line 26 of file AggregateGroupManager.php.


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