api_metaweblog.inc.php File Reference

Go to the source code of this file.

Functions

 f_metaWeblog_newPost ($m)
 f_metaWeblog_getCategories ($m)
 f_metaWeblog_getPost ($m)
 f_metaWeblog_editPost ($m)
 f_metaWeblog_newMediaObject ($m)
 f_metaWeblog_getRecentPosts ($m)
 _getRecentItemsMetaWeblog ($blogid, $username, $password, $amount)
 _newMediaObject ($blogid, $username, $password, $info)
 _categoryList ($blogid, $username, $password)
 _mw_getPost ($itemid, $username, $password)

Variables

 $f_metaWeblog_newPost_sig
 $f_metaWeblog_newPost_doc = "Adds a new item to the given blog. Adds it as a draft when publish is false"
 $f_metaWeblog_getCategories_sig
 $f_metaWeblog_getCategories_doc = "Returns the categories for a given blog"
 $f_metaWeblog_getPost_sig
 $f_metaWeblog_getPost_doc = "Retrieves a post"
 $f_metaWeblog_editPost_sig
 $f_metaWeblog_editPost_doc = "Edits an item"
 $f_metaWeblog_newMediaObject_sig
 $f_metaWeblog_newMediaObject_doc = 'Uploads a file to to the media library of the user'
 $f_metaWeblog_getRecentPosts_sig
 $f_metaWeblog_getRecentPosts_doc = 'Returns recent weblog items.'
 $functionDefs


Function Documentation

_categoryList ( blogid,
username,
password 
)

_getRecentItemsMetaWeblog ( blogid,
username,
password,
amount 
)

_mw_getPost ( itemid,
username,
password 
)

_newMediaObject ( blogid,
username,
password,
info 
)

f_metaWeblog_editPost ( m  ) 

f_metaWeblog_getCategories ( m  ) 

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

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

f_metaWeblog_getPost ( m  ) 

Definition at line 112 of file api_metaweblog.inc.php.

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

f_metaWeblog_getRecentPosts ( m  ) 

Definition at line 249 of file api_metaweblog.inc.php.

References $amount, $blogid, _getRecentItemsMetaWeblog(), and _getScalar().

f_metaWeblog_newMediaObject ( m  ) 

Definition at line 224 of file api_metaweblog.inc.php.

References $blogid, _getScalar(), _getStructVal(), and _newMediaObject().

f_metaWeblog_newPost ( m  ) 


Variable Documentation

$f_metaWeblog_editPost_doc = "Edits an item"

Definition at line 134 of file api_metaweblog.inc.php.

$f_metaWeblog_editPost_sig

Initial value:

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

                        // params:
                        $xmlrpcString,  // itemid
                        $xmlrpcString,  // username
                        $xmlrpcString,  // password
                        $xmlrpcStruct,  // content
                        $xmlrpcBoolean, // publish boolean (set to false to create draft)

                ))

Definition at line 122 of file api_metaweblog.inc.php.

$f_metaWeblog_getCategories_doc = "Returns the categories for a given blog"

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

$f_metaWeblog_getCategories_sig

Initial value:

 array(array(
                // return
                $xmlrpcStruct,  // categories for blog

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

        ))

Definition at line 80 of file api_metaweblog.inc.php.

$f_metaWeblog_getPost_doc = "Retrieves a post"

Definition at line 111 of file api_metaweblog.inc.php.

$f_metaWeblog_getPost_sig

Initial value:

 array(array(
                // return
                $xmlrpcStruct,  // the juice

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

        ))

Definition at line 101 of file api_metaweblog.inc.php.

$f_metaWeblog_getRecentPosts_doc = 'Returns recent weblog items.'

Definition at line 248 of file api_metaweblog.inc.php.

$f_metaWeblog_getRecentPosts_sig

Initial value:

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

                // params
                $xmlrpcString,          // blogid
                $xmlrpcString,          // username
                $xmlrpcString,          // password
                $xmlrpcInt                      // number of posts
        ))

Definition at line 238 of file api_metaweblog.inc.php.

$f_metaWeblog_newMediaObject_doc = 'Uploads a file to to the media library of the user'

Definition at line 223 of file api_metaweblog.inc.php.

$f_metaWeblog_newMediaObject_sig

Initial value:

 array(array(
                //  return type
                $xmlrpcStruct,          // "url" element

                // params
                $xmlrpcString,          // blogid
                $xmlrpcString,          // username
                $xmlrpcString,          // password
                $xmlrpcStruct           // 'name', 'type' and 'bits'
        ))

Definition at line 213 of file api_metaweblog.inc.php.

$f_metaWeblog_newPost_doc = "Adds a new item to the given blog. Adds it as a draft when publish is false"

Definition at line 37 of file api_metaweblog.inc.php.

$f_metaWeblog_newPost_sig

Initial value:

 array(array(
                        // return type
                        $xmlrpcString,  // itemid of the new item

                        // params:
                        $xmlrpcString,  // blogid
                        $xmlrpcString,  // username
                        $xmlrpcString,  // password
                        $xmlrpcStruct,  // content
                        $xmlrpcBoolean, // publish boolean (set to false to create draft)

                ))
This file contains definitions for the methods of the metaWeblog API

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

Version:
Id
api_metaweblog.inc.php 1116 2007-02-03 08:24:29Z kimitake
NucleusJP
api_metaweblog.inc.php,v 1.6 2007/02/04 06:28:46 kimitake Exp

Definition at line 25 of file api_metaweblog.inc.php.

$functionDefs

Definition at line 474 of file api_metaweblog.inc.php.



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