api_mt.inc.php File Reference

Go to the source code of this file.

Functions

 f_mt_supportedMethods ($m)
 f_mt_supportedTextFilters ($m)
 f_mt_getCategoryList ($m)
 f_mt_publishPost ($m)
 f_mt_getPostCategories ($m)
 f_mt_setPostCategories ($m)
 f_mt_getRecentPostTitles ($m)
 f_mt_getTrackbackPings ($m)
 _mt_setPostCategories ($itemid, $username, $password, $category)
 _mt_getPostCategories ($itemid, $username, $password)
 _mt_publishPost ($itemid, $username, $password)
 _mt_categoryList ($blogid, $username, $password)
 _mt_getRecentPostTitles ($blogid, $username, $password, $iAmount)

Variables

 $f_mt_supportedMethods_sig
 $f_mt_supportedMethods_doc = 'returns an array of supported methods'
 $f_mt_supportedTextFilters_sig
 $f_mt_supportedTextFilters_doc = 'returns the supported text filters'
 $f_mt_getCategoryList_sig
 $f_mt_getCategoryList_doc = 'Returns a list of all categories defined in the weblog'
 $f_mt_publishPost_sig
 $f_mt_publishPost_doc = 'Transfers an item from the "draft" state to the "published" state. For items that were published earlier, does nothing.'
 $f_mt_getPostCategories_sig
 $f_mt_getPostCategories_doc = 'Returns a list of all categories to which the post is assigned.'
 $f_mt_setPostCategories_sig
 $f_mt_setPostCategories_doc = 'Sets the categories for a post. Only the primary category will be stored'
 $f_mt_getRecentPostTitles_sig
 $f_mt_getRecentPostTitles_doc = 'Returns a bandwidth-friendly list of the most recent posts in the system.'
 $f_mt_getTrackbackPings_sig
 $f_mt_getTrackbackPings_doc = '(this is currently just a placeholder. It returns an empty array.)'
 $functionDefs


Function Documentation

_mt_categoryList ( blogid,
username,
password 
)

Definition at line 334 of file api_mt.inc.php.

References $blogid, $query, _error(), BLOG::existsID(), mysql_fetch_object(), and sql_query().

Referenced by f_mt_getCategoryList().

_mt_getPostCategories ( itemid,
username,
password 
)

Definition at line 286 of file api_mt.inc.php.

References $blogid, $itemid, $manager, _error(), and getBlogIDFromItemID().

Referenced by f_mt_getPostCategories().

_mt_getRecentPostTitles ( blogid,
username,
password,
iAmount 
)

_mt_publishPost ( itemid,
username,
password 
)

Definition at line 319 of file api_mt.inc.php.

References $blogid, $itemid, $manager, _edititem(), _error(), and getBlogIDFromItemID().

Referenced by f_mt_publishPost().

_mt_setPostCategories ( itemid,
username,
password,
category 
)

Definition at line 252 of file api_mt.inc.php.

References $blogid, $catid, $itemid, $manager, _edititem(), _error(), and getBlogIDFromItemID().

Referenced by f_mt_setPostCategories().

f_mt_getCategoryList ( m  ) 

Definition at line 72 of file api_mt.inc.php.

References $blogid, _getScalar(), and _mt_categoryList().

f_mt_getPostCategories ( m  ) 

Definition at line 109 of file api_mt.inc.php.

References $itemid, _getScalar(), and _mt_getPostCategories().

f_mt_getRecentPostTitles ( m  ) 

Definition at line 167 of file api_mt.inc.php.

References $blogid, _getScalar(), and _mt_getRecentPostTitles().

f_mt_getTrackbackPings ( m  ) 

Definition at line 184 of file api_mt.inc.php.

References $itemid, $manager, and _getScalar().

f_mt_publishPost ( m  ) 

Definition at line 91 of file api_mt.inc.php.

References $itemid, _getScalar(), and _mt_publishPost().

f_mt_setPostCategories ( m  ) 

Definition at line 128 of file api_mt.inc.php.

References $itemid, _getScalar(), and _mt_setPostCategories().

f_mt_supportedMethods ( m  ) 

Definition at line 29 of file api_mt.inc.php.

f_mt_supportedTextFilters ( m  ) 

Definition at line 51 of file api_mt.inc.php.


Variable Documentation

$f_mt_getCategoryList_doc = 'Returns a list of all categories defined in the weblog'

Definition at line 71 of file api_mt.inc.php.

$f_mt_getCategoryList_sig

Initial value:

 array(array(
                        // return type
                        $xmlrpcArray,           // array of structs

                        // params
                        $xmlrpcString,          // blogid
                        $xmlrpcString,          // username
                        $xmlrpcString           // password

                ))

Definition at line 61 of file api_mt.inc.php.

$f_mt_getPostCategories_doc = 'Returns a list of all categories to which the post is assigned.'

Definition at line 108 of file api_mt.inc.php.

$f_mt_getPostCategories_sig

Initial value:

 array(array(
                // return
                $xmlrpcArray,           // array of structs
                // parameters
                $xmlrpcString,          // itemid
                $xmlrpcString,          // username
                $xmlrpcString           // password
        ))

Definition at line 100 of file api_mt.inc.php.

$f_mt_getRecentPostTitles_doc = 'Returns a bandwidth-friendly list of the most recent posts in the system.'

Definition at line 166 of file api_mt.inc.php.

$f_mt_getRecentPostTitles_sig

Initial value:

 array(array(
                // return
                $xmlrpcArray,           // array of structs
                // params
                $xmlrpcString,          // blogid
                $xmlrpcString,          // userid
                $xmlrpcString,          // password,
                $xmlrpcInt                      // number of posts
        ))

Definition at line 157 of file api_mt.inc.php.

$f_mt_getTrackbackPings_doc = '(this is currently just a placeholder. It returns an empty array.)'

Definition at line 183 of file api_mt.inc.php.

$f_mt_getTrackbackPings_sig

Initial value:

 array(array(
                // return
                $xmlrpcArray,           // array of structs
                // params
                $xmlrpcString           // postid
        ))

Definition at line 177 of file api_mt.inc.php.

$f_mt_publishPost_doc = 'Transfers an item from the "draft" state to the "published" state. For items that were published earlier, does nothing.'

Definition at line 90 of file api_mt.inc.php.

$f_mt_publishPost_sig

Initial value:

 array(array(
                        // return type
                        $xmlrpcBoolean,         // true

                        // params
                        $xmlrpcString,          // itemid
                        $xmlrpcString,          // username
                        $xmlrpcString           // password
                ))

Definition at line 81 of file api_mt.inc.php.

$f_mt_setPostCategories_doc = 'Sets the categories for a post. Only the primary category will be stored'

Definition at line 127 of file api_mt.inc.php.

$f_mt_setPostCategories_sig

Initial value:

 array(array(
                // return
                $xmlrpcBoolean,         // true
                // parameters
                $xmlrpcString,          // itemid
                $xmlrpcString,          // username
                $xmlrpcString,          // password
                $xmlrpcArray            // categories
        ))

Definition at line 118 of file api_mt.inc.php.

$f_mt_supportedMethods_doc = 'returns an array of supported methods'

Definition at line 28 of file api_mt.inc.php.

$f_mt_supportedMethods_sig

Initial value:

 array(array(
                        // return type
                        $xmlrpcArray // array of strings
                ))
This file contains definitions for the methods in the Movable Type API

Wouter Demuynck 2003-08-31

http://nucleuscms.org/license.txt GNU General Public License Copyright (C) 2002-2007 The Nucleus Group

NucleusJP
api_mt.inc.php,v 1.6 2007/02/04 06:28:46 kimitake Exp

Definition at line 24 of file api_mt.inc.php.

$f_mt_supportedTextFilters_doc = 'returns the supported text filters'

Definition at line 50 of file api_mt.inc.php.

$f_mt_supportedTextFilters_sig

Initial value:

 array(array(
                        // return type
                        $xmlrpcArray    // array of structs
                ))

Definition at line 46 of file api_mt.inc.php.

$functionDefs

Definition at line 207 of file api_mt.inc.php.



Generated on Wed Jun 25 17:25:59 2008 by  doxygen 1.5.5