MediaWiki
REL1_19
|
00001 <?php 00037 class ApiQueryDisabled extends ApiQueryBase { 00038 00039 public function __construct( $main, $action ) { 00040 parent::__construct( $main, $action ); 00041 } 00042 00043 public function execute() { 00044 $this->setWarning( "The \"{$this->getModuleName()}\" module has been disabled." ); 00045 } 00046 00047 public function getAllowedParams() { 00048 return array(); 00049 } 00050 00051 public function getParamDescription() { 00052 return array(); 00053 } 00054 00055 public function getDescription() { 00056 return array( 00057 'This module has been disabled.' 00058 ); 00059 } 00060 00061 public function getExamples() { 00062 return array(); 00063 } 00064 00065 public function getVersion() { 00066 return __CLASS__ . ': $Id$'; 00067 } 00068 }