MediaWiki  master
ApiFormatNone.php
Go to the documentation of this file.
00001 <?php
00031 class ApiFormatNone extends ApiFormatBase {
00032 
00033         public function __construct( $main, $format ) {
00034                 parent::__construct( $main, $format );
00035         }
00036 
00037         public function getMimeType() {
00038                 return 'text/plain';
00039         }
00040 
00041         public function execute() {
00042         }
00043 
00044         public function getDescription() {
00045                 return 'Output nothing' . parent::getDescription();
00046         }
00047 
00048         public function getVersion() {
00049                 return __CLASS__ . ': $Id$';
00050         }
00051 }