MockWikiMessageGroup.php

Go to the documentation of this file.
00001 <?php
00012 class MockWikiMessageGroup extends WikiMessageGroup {
00013 
00014     public function __construct( $id, array $messages ) {
00015         parent::__construct( $id, 'unused' );
00016         $this->id = $id;
00017         $this->messages = $messages;
00018     }
00019 
00020     public function getDefinitions() {
00021         return $this->messages;
00022     }
00023 }
Generated on Tue Oct 29 00:00:24 2013 for MediaWiki Translate Extension by  doxygen 1.6.3