b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _xmlrpcs.funcs.php

Source Location: /blogs/inc/xmlrpc/model/_xmlrpcs.funcs.php

Page Details
Copyright:  Edd Dumbill <edd@usefulinc.com> (C) 1999-2002
See:  http://xmlrpc.usefulinc.com/doc/
See:  http://phpxmlrpc.sourceforge.net/
Filesource:  Source Code for this file
Functions
logIO  [line 31]

boolean logIO( $msg, [ $newline = false]  )

Used for logging, only if $debug_xmlrpc_logging is true

Parameters:
   $msg: 
   $newline: 

API Tags:
Return:  Have we logged?


[ Top ]
starify  [line 59]

string starify( string $string  )

Returns a string replaced by stars, for passwords.

Parameters:
string   $string:  the source string

API Tags:
Return:  same length, but only stars


[ Top ]
xmlrpcs_edit_item  [line 391]

xmlrpcmsg xmlrpcs_edit_item( Item &$edited_Item, string $post_title, string $content, string $post_date, integer $main_cat, array $cat_IDs, string $status  )

Edit an Item and return an XML-RPC response

Parameters:
Item   &$edited_Item: 
string   $post_title:  HTML
string   $content:  HTML
string   $post_date:  date
integer   $main_cat:  main category
array   $cat_IDs:  of integers : extra categories
string   $status:  status


[ Top ]
xmlrpcs_get_Blog  [line 195]

Blog &xmlrpcs_get_Blog( xmlrpcmsg $m, integer $blog_param  )

Get current Blog for an XML-RPC request.

Parameters:
xmlrpcmsg   $m:  XML-RPC Message
integer   $blog_param:  idx of blog param

API Tags:
Return:  or NULL


[ Top ]
xmlrpcs_get_Item  [line 232]

Blog &xmlrpcs_get_Item( xmlrpcmsg $m, integer $postid_param  )

Get current Item for an XML-RPC request.

Parameters:
xmlrpcmsg   $m:  XML-RPC Message
integer   $postid_param:  idx of postid param

API Tags:
Return:  or NULL


[ Top ]
xmlrpcs_login  [line 155]

User &xmlrpcs_login( xmlrpcmsg $m, integer $login_param, integer $pass_param  )

Get current_User for an XML-RPC request - Includes login (password) check.

Parameters:
xmlrpcmsg   $m:  XML-RPC Message
integer   $login_param:  idx of login param in XML-RPC Message
integer   $pass_param:  idx of pass param in XML-RPC Message

API Tags:
Return:  or NULL


[ Top ]
xmlrpcs_new_item  [line 332]

xmlrpcmsg xmlrpcs_new_item( string $post_title, string $content, string $post_date, integer $main_cat, array $cat_IDs, string $status  )

Create a new Item and return an XML-RPC response

Parameters:
string   $post_title:  HTML
string   $content:  HTML
string   $post_date:  date
integer   $main_cat:  main category
array   $cat_IDs:  of integers : extra categories
string   $status:  status


[ Top ]
xmlrpcs_resperror  [line 269]

xmlrpcresp xmlrpcs_resperror( [integer $errcode = NULL], [string $errmsg = NULL]  )

If no errcode or errmsg given, will use the last one that has been set previously.

Parameters:
integer   $errcode: 
string   $errmsg: 


[ Top ]
_b2_or_mt_get_categories  [line 76]

xmlrpcresp _b2_or_mt_get_categories( string $type, xmlrpcmsg $m  )

Helper for b2_getcategories() and mt_getPostCategories(), because they differ only in the "categoryId" case ("categoryId" (b2) vs "categoryID" (MT))

Parameters:
string   $type:  Type, either "b2" or "mt"
xmlrpcmsg   $m:  XML-RPC Message
  1. blogid (string): Unique identifier of the blog to query
  2. username (string): Login for a Blogger user who is member of the blog.
  3. password (string): Password for said username.

API Tags:
Return:  XML-RPC Response


[ Top ]


Documentation generated on Sat, 06 Mar 2010 03:43:21 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).