root/devel/mod/rpc/xmlrpc/handlers_mt_xmlrpc.php

Revision 758, 0.7 kB (checked in by sven, 2 years ago)

set svn property eol-style native on some files without it

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     // Prepare a list of handlers to be loaded into the XML-RPC server
4
5     $handlers = array('mt.getRecentPostTitles'  => 'mt_getRecenPostTitles',
6                       'mt.getCategoryList'      => 'mt_getCategoryList',
7                       'mt.getPostCategories'    => 'mt_getPostCategories',
8                       'mt.setPostCategories'    => 'mt_setPostCategories',
9                       'mt.supportedMethods'     => 'mt_supportedMethods',
10                       'mt.supportedTextFilters' => 'mt_supportedTextFilters',
11                       'mt.publishPost'          => 'mt_publishPost');
12
13     // Add the handlers to the global handlers array
14
15     $RPC->addMapping($handlers);
16     $RPC->addLibrary(dirname(__FILE__)."/library_mt_xmlrpc.php");
17
18 ?>
19
Note: See TracBrowser for help on using the browser.