MediaWiki  REL1_22
ApiDisabled.php
Go to the documentation of this file.
00001 <?php
00037 class ApiDisabled extends ApiBase {
00038 
00039     public function execute() {
00040         $this->dieUsage( "The \"{$this->getModuleName()}\" module has been disabled.", 'moduledisabled' );
00041     }
00042 
00043     public function isReadMode() {
00044         return false;
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 'This module has been disabled';
00057     }
00058 
00059     public function getExamples() {
00060         return array();
00061     }
00062 }