phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Procedural File: metaweblog.php

Source Location: /metaweblog.php

Page Details

Implements the blogger and MetaWeblog APIs.

Includes
require_once ($pivotx_path.'includes/xmlrpc/xmlrpc.inc') [line 51]
[ Top ]

require_once ($pivotx_path.'includes/xmlrpc/xmlrpcs.inc') [line 52]
[ Top ]

require_once (dirname(__FILE__).'/lib.php') [line 50]

Including PivotX core functions and XML RPC functions/server.

[ Top ]


Functions
deletePost  [line 578]

void deletePost( array $params  )

blogger.deletePost

Parameters:
array   $params:  Contains application key (ignored), post id, username, password, and publish status (ignored)


[ Top ]
editPost  [line 488]

void editPost( array $params  )

blogger.editPost

Parameters:
array   $params:  Contains application key (ignored), post id, username, password, content, and publish status (ignored)


[ Top ]
getPost  [line 540]

void getPost( array $params  )

blogger.getPost

Parameters:
array   $params:  Containsapplication key (ignored), post id, username, and password


[ Top ]
getRecentPosts  [line 619]

void getRecentPosts( array $params  )

blogger.getRecentPosts

Parameters:
array   $params:  Contains application key (ignored), blog ID, username, password, and number of posts


[ Top ]
getTemplate  [line 763]

void getTemplate( array $params  )

blogger.getTemplate

We don't support template editing, so we just return an error.

Parameters:
array   $params:  Contains application key, blog id, username, password


[ Top ]
getUserInfo  [line 683]

void getUserInfo( array $params  )

blogger.getUserInfo

Parameters:
array   $params:  Contains application key (ignored), username and password.


[ Top ]
getUsersBlogs  [line 715]

void getUsersBlogs( array $params  )

blogger.getUsersBlogs and metaWeblog.getUsersBlogs

Parameters:
array   $params:  Contains application key (ignored), username, and password


[ Top ]
metaweblog_editPost  [line 860]

void metaweblog_editPost( array $params  )

metaWeblog.editPost

Parameters:
array   $params:  Contains post id, user, password, content and publish


[ Top ]
metaweblog_getCategories  [line 1015]

void metaweblog_getCategories( array $params  )

metaWeblog.getCategories

Parameters:
array   $params:  Contains blog id, username, password


[ Top ]
metaweblog_getPost  [line 906]

void metaweblog_getPost( array $params  )

metaWeblog.getPost

Parameters:
array   $params:  Contains post id, username, password


[ Top ]
metaweblog_getRecentPosts  [line 944]

void metaweblog_getRecentPosts( array $params  )

metaWeblog.getRecentPosts

Parameters:
array   $params:  Contains blog id, username, password, and number of posts


[ Top ]
metaweblog_newMediaObject  [line 1053]

void metaweblog_newMediaObject( array $params  )

metaWeblog.newMediaObject

Parameters:
array   $params:  Contains blog id, username, password and file


[ Top ]
metaweblog_newPost  [line 796]

void metaweblog_newPost( array $params  )

metaWeblog.newPost

Parameters:
array   $params:  Contains blog id, username, password, content, and publish status.


[ Top ]
newPost  [line 424]

void newPost( array $params  )

blogger.newPost

Parameters:
array   $params:  Contains application key (ignored), blog id, username, password, content, and publish status (ignored).


[ Top ]
pivotx_delete_post  [line 381]

void pivotx_delete_post( string $postid  )

Deletes a post.

Parameters:
string   $postid: 


[ Top ]
pivotx_get_blog_cats  [line 113]

array pivotx_get_blog_cats( string $blogid  )

Creates a list of categories (with description and more properties) for the given blog ID.

Parameters:
string   $blogid: 


[ Top ]
pivotx_get_post  [line 259]

array pivotx_get_post( string $postid  )

Get a specific post.

Parameters:
string   $postid: 

Information Tags:
Todo:  Fix links (use functions). Add user check?

[ Top ]
pivotx_get_userid  [line 81]

array pivotx_get_userid( string $user, string $pass  )

Checks username and password, and return an array with the userid (uid) and potentially an error (err).

Parameters:
string   $user: 
string   $pass: 


[ Top ]
pivotx_get_user_blogs  [line 136]

array pivotx_get_user_blogs( string $uid  )

Finds the list of blogs (without checking the user permissions).

Parameters:
string   $uid: 


[ Top ]
pivotx_new_post  [line 294]

int pivotx_new_post( string $uid, string $title, string $body, string $categories  )

Creates a new post and returns the code for that entry,.

Parameters:
string   $uid: 
string   $title: 
string   $body: 
string   $categories: 


[ Top ]
pivotx_post_exists  [line 180]

boolean pivotx_post_exists( string $postid  )

Determines if a post exists.

Parameters:
string   $postid: 


[ Top ]
pivotx_recent  [line 216]

array pivotx_recent( string $blogid, string $num  )

Finds recent posts in the given blog.

Parameters:
string   $blogid: 
string   $num: 


[ Top ]
pivotx_update_post  [line 341]

void pivotx_update_post( string $uid, string $postid, string $title, string $content, [array $categories = '']  )

Updates a post.

Parameters:
string   $uid: 
string   $postid: 
string   $title: 
string   $content: 
array   $categories: 


[ Top ]
pivotx_user_blog_check  [line 161]

boolean pivotx_user_blog_check( string $uid, string $blogid  )

Determines if a user can post to a given blog (at all) by checking all permissions for all categories.

Parameters:
string   $uid: 
string   $blogid: 


[ Top ]
pivotx_user_info  [line 396]

array pivotx_user_info( string $uid  )

Returns info about user.

Parameters:
string   $uid: 

Information Tags:
Todo:  Fetch more info (if possible) from global $PIVOTX array.

[ Top ]
pivotx_user_post_check  [line 199]

boolean pivotx_user_post_check( string $uid, string $postid  )

Determines if a user has access to a given post.

Parameters:
string   $uid: 
string   $postid: 

Information Tags:
Todo:  Check if user is administrator or super-user.

[ Top ]
setTemplate  [line 778]

void setTemplate( array $params  )

blogger.getTemplate

We don't support template editing, so we just return an error.

Parameters:
array   $params:  Contains application key, blog id, username, password, template, and type


[ Top ]


Documentation generated on Tue, 05 Sep 2017 01:06:05 +0200 by phpDocumentor 1.4.3