MediaWiki  master
ApiFormatNone.php
Go to the documentation of this file.
1 <?php
29 
30  public function getMimeType() {
31  return 'text/plain';
32  }
33 
34  public function execute() {
35  }
36 }
ApiFormatNone\execute
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
Definition: ApiFormatNone.php:34
ApiFormatBase
This is the abstract base class for API formatters.
Definition: ApiFormatBase.php:30
ApiFormatNone\getMimeType
getMimeType()
Overriding class returns the MIME type that should be sent to the client.
Definition: ApiFormatNone.php:30
ApiFormatNone
Formatter that outputs nothing, for when you don't care about the response at all.
Definition: ApiFormatNone.php:28