[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/api/ -> ApiRsd.php (summary)

API for MediaWiki 1.17+ Created on October 26, 2010

File Size: 171 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

ApiRsd:: (9 methods):
  execute()
  getCustomPrinter()
  getAllowedParams()
  getParamDescription()
  getDescription()
  getExamples()
  isReadMode()
  getRsdApiList()
  formatRsdApiList()

ApiFormatXmlRsd:: (2 methods):
  __construct()
  getMimeType()


Class: ApiRsd  - X-Ref

API module for sending out RSD information

execute()   X-Ref
No description

getCustomPrinter()   X-Ref
No description

getAllowedParams()   X-Ref
No description

getParamDescription()   X-Ref
No description

getDescription()   X-Ref
No description

getExamples()   X-Ref
No description

isReadMode()   X-Ref
No description

getRsdApiList()   X-Ref
Builds an internal list of APIs to expose information about.
Normally this only lists the MediaWiki API, with its base URL,
link to documentation, and a marker as to available authentication
(to aid in OAuth client apps switching to support in the future).

Extensions can expose other APIs, such as WordPress or Twitter-
compatible APIs, by hooking 'ApiRsdServiceApis' and adding more
elements to the array.

See http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html for
the base RSD spec, and check WordPress and StatusNet sites for
in-production examples listing several blogging and micrblogging
APIs.

return: array

formatRsdApiList()   X-Ref
Formats the internal list of exposed APIs into an array suitable
to pass to the API's XML formatter.

return: array

Class: ApiFormatXmlRsd  - X-Ref

__construct( ApiMain $main, $format )   X-Ref
No description

getMimeType()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1