[ Index ]

PHP Cross Reference of Nucleus CMS v3.51 code documentation

title

Body

[close]

/nucleus/xmlrpc/ -> server.php (summary)

This script is provides an XML-RPC [1] interface to Nucleus [2]. At this time, the Blogger API [3], the metaWeblog API [4] and parts of the Movable Type API [5] are implemented

Copyright: Copyright (C) 2002-2009 The Nucleus Group
License: http://nucleuscms.org/license.txt GNU General Public License
Version: $Id: server.php 1388 2009-07-18 06:31:28Z shizuki $
File Size: 319 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 5 files
 nucleus/xmlrpc/api_mt.inc.php
 nucleus/xmlrpc/api_metaweblog.inc.php
 nucleus/xmlrpc/api_blogger.inc.php
 nucleus/xmlrpc/api_nucleus.inc.php
 config.php

Defines 12 functions

  _addItem()
  _addDatedItem()
  _edititem()
  _getUsersBlogs()
  _getUserInfo()
  _deleteItem()
  _getSkinPart()
  _setSkinPart()
  _getScalar()
  _getStructVal()
  _getArrayVal()
  _error()

Functions
Functions that are not part of a class:

_addItem($blogid, $username, $password, $title, $body, $more, $publish, $closed, $catname = "")   X-Ref
Adds an item to the given blog. Username and password are required to login


_addDatedItem($blogid, $username, $password, $title, $body, $more, $publish, $closed, $timestamp, $future, $catname = "")   X-Ref
Adds item to blog, with time of item given


_edititem($itemid, $username, $password, $catid, $title, $body, $more, $wasdraft, $publish, $closed)   X-Ref
Updates an item. Username and password are required to login


_getUsersBlogs($username, $password)   X-Ref
Gives the list of blogs to which the user with given name and password has access


_getUserInfo($username, $password)   X-Ref
No description

_deleteItem($itemid, $username, $password)   X-Ref
deletes an item


_getSkinPart($blogid, $username, $password, $type)   X-Ref
Returns a template


_setSkinPart($blogid, $username, $password, $content, $type)   X-Ref
No description

_getScalar($m, $idx)   X-Ref
Some convenience methods


_getStructVal($struct, $key)   X-Ref
No description

_getArrayVal($a, $idx)   X-Ref
No description

_error($err, $msg)   X-Ref
Returns an XML-RPC error response
$err is the error number (>0, will be added to $xmlrpcerruser)




Generated: Sun Aug 1 03:56:06 2010
Open Source related documentation for developers.