MediaWiki REL1_39
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}
This is the abstract base class for API formatters.
Formatter that outputs nothing, for when you don't care about the response at all.
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
getMimeType()
Overriding class returns the MIME type that should be sent to the client.