FakeTTMServer.php

Go to the documentation of this file.
00001 <?php
00019 class FakeTTMServer implements ReadableTTMServer, WritableTTMServer {
00020     public function query( $sourceLanguage, $targetLanguage, $text ) {
00021         return array();
00022     }
00023 
00024     public function isLocalSuggestion( array $suggestion ) {
00025         false;
00026     }
00027 
00028     public function expandLocation( array $suggestion ) {
00029         return '';
00030     }
00031 
00032     public function update( MessageHandle $handle, $targetText ) {
00033     }
00034 
00035     public function beginBootstrap() {
00036     }
00037 
00038     public function beginBatch() {
00039     }
00040 
00041     public function batchInsertDefinitions( array $batch ) {
00042     }
00043 
00044     public function batchInsertTranslations( array $batch ) {
00045     }
00046 
00047     public function endBatch() {
00048     }
00049 
00050     public function endBootstrap() {
00051     }
00052 }
Generated on Tue Oct 29 00:00:25 2013 for MediaWiki Translate Extension by  doxygen 1.6.3