EasyBlogXMLRPCServices
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $string : mixed
Methods
- __construct() : mixed
- bindBlogImages() : mixed
- Binds images
- bindPost() : mixed
- Binds the post data
- deletePost() : mixed
- Allows remote user to delete a blog post
- editPost() : mixed
- Proxy method to save an existing blog post
- getCategories() : mixed
- Retrieves a list of categories created on the site
- getError() : mixed
- getErrors() : mixed
- getPages() : mixed
- Retrieves a list of categories created on the site
- getPost() : mixed
- Retrieves information about a blog post
- getPostCategories() : mixed
- Retrieves a list of categories associated with a post
- getRecentPosts() : mixed
- Retrieves a list of blog posts
- getTags() : mixed
- Retrieves a list of categories created on the site
- getUserBlogs() : mixed
- Retrieves a list of blog posts the user has created
- hasError() : mixed
- hasErrors() : mixed
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- login() : mixed
- Logs in the user
- newCategory() : mixed
- Creates a new category on the site.
- newPost() : mixed
- Proxy method to create a new blog post
- save() : mixed
- Creates a new blog post
- setError() : mixed
- setPostCategories() : mixed
- Associates a post with the categories
- uploadMedia() : mixed
- Stores the media object that is sent from the xmlrpc client
- prepPost() : mixed
Properties
$app
public
mixed
$app
= \null
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$string
public
mixed
$string
= \null
Methods
__construct()
public
__construct() : mixed
bindBlogImages()
Binds images
public
static bindBlogImages(EasyBlogPost &$blog, mixed $data, mixed $publish) : mixed
Parameters
- $blog : EasyBlogPost
- $data : mixed
- $publish : mixed
Tags
bindPost()
Binds the post data
public
static bindPost(EasyBlogPost &$post, mixed $data, mixed $publish) : mixed
Parameters
- $post : EasyBlogPost
- $data : mixed
- $publish : mixed
Tags
deletePost()
Allows remote user to delete a blog post
public
static deletePost(mixed $appkey, mixed $id, mixed $username, mixed $password, mixed $publish) : mixed
Parameters
- $appkey : mixed
- $id : mixed
- $username : mixed
- $password : mixed
- $publish : mixed
Tags
editPost()
Proxy method to save an existing blog post
public
static editPost(mixed $postid, mixed $username, mixed $password, mixed $content, mixed $publish) : mixed
Parameters
- $postid : mixed
- $username : mixed
- $password : mixed
- $content : mixed
- $publish : mixed
Tags
getCategories()
Retrieves a list of categories created on the site
public
static getCategories(mixed $blogid, mixed $username, mixed $password) : mixed
Parameters
- $blogid : mixed
- $username : mixed
- $password : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getPages()
Retrieves a list of categories created on the site
public
static getPages(mixed $blogid, mixed $username, mixed $password) : mixed
Parameters
- $blogid : mixed
- $username : mixed
- $password : mixed
Tags
getPost()
Retrieves information about a blog post
public
static getPost(mixed $id, mixed $username, mixed $password) : mixed
Parameters
- $id : mixed
- $username : mixed
- $password : mixed
Tags
getPostCategories()
Retrieves a list of categories associated with a post
public
static getPostCategories(mixed $postId, mixed $username, mixed $password) : mixed
Parameters
- $postId : mixed
- $username : mixed
- $password : mixed
Tags
getRecentPosts()
Retrieves a list of blog posts
public
static getRecentPosts(mixed $blogid, mixed $username, mixed $password, mixed $numposts) : mixed
Parameters
- $blogid : mixed
- $username : mixed
- $password : mixed
- $numposts : mixed
Tags
getTags()
Retrieves a list of categories created on the site
public
static getTags(mixed $blogid, mixed $username, mixed $password) : mixed
Parameters
- $blogid : mixed
- $username : mixed
- $password : mixed
Tags
getUserBlogs()
Retrieves a list of blog posts the user has created
public
static getUserBlogs(mixed $appkey, mixed $username, mixed $password) : mixed
Parameters
- $appkey : mixed
- $username : mixed
- $password : mixed
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
login()
Logs in the user
public
static login(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
- $password : mixed
Tags
newCategory()
Creates a new category on the site.
public
static newCategory(mixed $blogId, mixed $username, mixed $password, mixed $data) : mixed
Parameters
- $blogId : mixed
- $username : mixed
- $password : mixed
- $data : mixed
Tags
newPost()
Proxy method to create a new blog post
public
static newPost(mixed $blogid, mixed $username, mixed $password, mixed $content, mixed $publish) : mixed
Parameters
- $blogid : mixed
- $username : mixed
- $password : mixed
- $content : mixed
- $publish : mixed
Tags
save()
Creates a new blog post
public
static save(mixed $id, mixed $username, mixed $password, mixed $data, mixed $publish) : mixed
Parameters
- $id : mixed
- $username : mixed
- $password : mixed
- $data : mixed
- $publish : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
setPostCategories()
Associates a post with the categories
public
static setPostCategories(mixed $postId, mixed $username, mixed $password, mixed $categories) : mixed
Parameters
- $postId : mixed
- $username : mixed
- $password : mixed
- $categories : mixed
Tags
uploadMedia()
Stores the media object that is sent from the xmlrpc client
public
static uploadMedia(mixed $blogid, mixed $username, mixed $password, mixed $file) : mixed
Parameters
- $blogid : mixed
- $username : mixed
- $password : mixed
- $file : mixed
Tags
prepPost()
private
static prepPost(mixed $id) : mixed
Parameters
- $id : mixed