RemoteTTMServer.php

Go to the documentation of this file.
00001 <?php
00019 class RemoteTTMServer extends TTMServer implements ReadableTTMServer {
00020     public function query( $sourceLanguage, $targetLanguage, $text ) {
00021         // @todo Implement some day perhaps?
00022         return array();
00023     }
00024 
00025     public function isLocalSuggestion( array $suggestion ) {
00026         return false;
00027     }
00028 
00029     public function expandLocation( array $suggestion ) {
00030         return $suggestion['location'];
00031     }
00032 }
Generated on Tue Oct 29 00:00:25 2013 for MediaWiki Translate Extension by  doxygen 1.6.3