Interfaces.php

Go to the documentation of this file.
00001 <?php
00017 interface ReadableTTMServer {
00030     public function query( $sourceLanguage, $targetLanguage, $text );
00031 
00038     public function isLocalSuggestion( array $suggestion );
00039 
00046     public function expandLocation( array $suggestion );
00047 }
00048 
00054 interface WritableTTMServer {
00064     public function update( MessageHandle $handle, $targetText );
00065 
00071     public function beginBootstrap();
00072 
00076     public function beginBatch();
00077 
00081     public function batchInsertDefinitions( array $batch );
00082 
00086     public function batchInsertTranslations( array $batch );
00087 
00091     public function endBatch();
00092 
00096     public function endBootstrap();
00097 }
Generated on Tue Oct 29 00:00:25 2013 for MediaWiki Translate Extension by  doxygen 1.6.3