114 lines
3.1 KiB
PHP
114 lines
3.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Invision Power Services
|
|
* IP.Board v3.0.5
|
|
* Defines metaweblog API parameters
|
|
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
|
|
*
|
|
* @author $Author: bfarber $
|
|
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
|
* @license http://www.iinvisionpower.com/community/board/license.html
|
|
* @package IP.Blog
|
|
* @link http://www.iinvisionpower.com
|
|
* @version $Rev: 3887 $
|
|
*
|
|
*/
|
|
|
|
$_METAWEBLOG_ALLOWED_METHODS = array();
|
|
|
|
/**
|
|
* getCategories
|
|
* return the categories used in the Blog
|
|
*/
|
|
$_METAWEBLOG_ALLOWED_METHODS['getCategories'] = array(
|
|
'in' => array(
|
|
'param0' => 'integer',
|
|
'param1' => 'string',
|
|
'param2' => 'string'
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* getRecentPosts
|
|
* return the most recent entries of the Blog
|
|
*/
|
|
$_METAWEBLOG_ALLOWED_METHODS['getRecentPosts'] = array(
|
|
'in' => array(
|
|
'param0' => 'integer',
|
|
'param1' => 'string',
|
|
'param2' => 'string',
|
|
'param3' => 'integer'
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* newPost
|
|
* Post a new entry to the Blog
|
|
*/
|
|
$_METAWEBLOG_ALLOWED_METHODS['newPost'] = array(
|
|
'in' => array(
|
|
'param0' => 'integer',
|
|
'param1' => 'string',
|
|
'param2' => 'string',
|
|
'param3' => 'struct',
|
|
'param4' => 'bool'
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* editPost
|
|
* Edit an entry in the Blog
|
|
*/
|
|
$_METAWEBLOG_ALLOWED_METHODS['editPost'] = array(
|
|
'in' => array(
|
|
'param0' => 'integer',
|
|
'param1' => 'string',
|
|
'param2' => 'string',
|
|
'param3' => 'struct',
|
|
'param4' => 'bool'
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* getPost
|
|
* Get an entry from the Blog
|
|
*/
|
|
$_METAWEBLOG_ALLOWED_METHODS['getPost'] = array(
|
|
'in' => array(
|
|
'param0' => 'integer',
|
|
'param1' => 'string',
|
|
'param2' => 'string',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* newMediaObject
|
|
* Post a media object to the Blog
|
|
*/
|
|
$_METAWEBLOG_ALLOWED_METHODS['newMediaObject'] = array(
|
|
'in' => array(
|
|
'param0' => 'integer',
|
|
'param1' => 'string',
|
|
'param2' => 'string',
|
|
'param3' => 'struct',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
); |