MediaWiki
master
ApiFormatNone.php
Go to the documentation of this file.
1
<?php
9
namespace
MediaWiki\Api
;
10
16
class
ApiFormatNone
extends
ApiFormatBase
{
17
19
public
function
getMimeType
() {
20
return
'text/plain'
;
21
}
22
23
public
function
execute
() {
24
}
25
}
26
28
class_alias( ApiFormatNone::class,
'ApiFormatNone'
);
MediaWiki\Api\ApiFormatBase
This is the abstract base class for API formatters.
Definition
ApiFormatBase.php:27
MediaWiki\Api\ApiFormatNone
Formatter that outputs nothing, for when you don't care about the response at all.
Definition
ApiFormatNone.php:16
MediaWiki\Api\ApiFormatNone\execute
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
Definition
ApiFormatNone.php:23
MediaWiki\Api\ApiFormatNone\getMimeType
getMimeType()
Overriding class returns the MIME type that should be sent to the client.When getIsHtml() returns tru...
Definition
ApiFormatNone.php:19
MediaWiki\Api
Definition
ApiAcquireTempUserName.php:8
includes
Api
ApiFormatNone.php
Generated on Mon Jan 19 2026 10:23:24 for MediaWiki by
1.10.0