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