MockFileBasedMessageGroup.php

Go to the documentation of this file.
00001 <?php
00011 class MockFileBasedMessageGroup extends FileBasedMessageGroup {
00012     public function load( $code ) {
00013         return array( $this->getId() . '-messagekey' => 'üga' );
00014     }
00015 
00016     public function exists() {
00017         return true;
00018     }
00019 
00020     public function getKeys() {
00021         return array_keys( $this->load( 'en' ) );
00022     }
00023 }
Generated on Tue Oct 29 00:00:24 2013 for MediaWiki Translate Extension by  doxygen 1.6.3