Documentation

EasyBlogModelBlogs extends EasyBlogAdminModel
in package

Table of Contents

Properties

$searchables  : mixed
$total  : mixed

Methods

__construct()  : mixed
_buildDataQueryWhere()  : mixed
Builds the where statement
_buildQuery()  : mixed
_buildQueryOrderBy()  : mixed
_buildQueryWhere()  : mixed
emptyTrash()  : mixed
Deletes a list of blog posts flagged as trash
exportTemplates()  : mixed
Export Post Templates
getAutoAchivingPosts()  : mixed
Retrieves a list of post for auto archiving process
getBlogs()  : mixed
Retrieves a list of blog posts on the site
getCategoryRepostingPosts()  : mixed
Retrieves a list of post for re-posting
getData()  : mixed
Retrieves a list of blog posts created on the site
getDataPagination()  : mixed
Retrieve pagination for the post
getPagination()  : int
Method to get a pagination object for the events
getScheduledAutoposts()  : mixed
Retrieves a list of scheduled autopost The first parameter 'limit' must set it to 1 for prevent those social network treat it as spam
getScheduledPosts()  : mixed
Retrieves a list of scheduled posts The first parameter 'limit' must set it to 1 for prevent those social network treat it as spam
getSearchableItems()  : mixed
Get searchable columns
getTotal()  : int
Method to return the total number of rows
getTotalPending()  : mixed
Retrieves the total number of pending posts from the site
getTotalPublished()  : mixed
getTotalUnpublished()  : mixed
getUnpublishScheduledPosts()  : mixed
Get all blog posts thare are scheduled to be unpublised
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
publish()  : mixed
Sets the publish state of a post
unpublishScheduledPosts()  : mixed
Unpublishes blog posts that are scheduled to be unpublished
updateCategoryRepostingFlag()  : mixed
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Populate current stats

Properties

$searchables

public mixed $searchables = array('id', 'permalink')

Methods

__construct()

public __construct() : mixed

_buildDataQueryWhere()

Builds the where statement

public _buildDataQueryWhere() : mixed
Tags
since
5.1
access

public

_buildQuery()

public _buildQuery() : mixed

_buildQueryOrderBy()

public _buildQueryOrderBy() : mixed

_buildQueryWhere()

public _buildQueryWhere() : mixed

emptyTrash()

Deletes a list of blog posts flagged as trash

public emptyTrash() : mixed
Tags
since
5.1
access

public

exportTemplates()

Export Post Templates

public exportTemplates(mixed $ids) : mixed
Parameters
$ids : mixed
Tags
since
5.3.0
access

public

getAutoAchivingPosts()

Retrieves a list of post for auto archiving process

public getAutoAchivingPosts([mixed $limit = 10 ]) : mixed
Parameters
$limit : mixed = 10
Tags
since
5.3.0
access

public

getBlogs()

Retrieves a list of blog posts on the site

public getBlogs([mixed $userId = null ][, mixed $options = array() ]) : mixed
Parameters
$userId : mixed = null
$options : mixed = array()
Tags
since
5.0
access

public

getCategoryRepostingPosts()

Retrieves a list of post for re-posting

public getCategoryRepostingPosts([mixed $limit = 1 ]) : mixed
Parameters
$limit : mixed = 1
Tags
since
5.2.8
access

public

getData()

Retrieves a list of blog posts created on the site

public getData([mixed $userId = null ]) : mixed
Parameters
$userId : mixed = null
Tags
since
5.1
access

public

getDataPagination()

Retrieve pagination for the post

public getDataPagination() : mixed
Tags
since
5.1
access

public

getPagination()

Method to get a pagination object for the events

public getPagination() : int
Tags
access

public

Return values
int

getScheduledAutoposts()

Retrieves a list of scheduled autopost The first parameter 'limit' must set it to 1 for prevent those social network treat it as spam

public getScheduledAutoposts([mixed $limit = 1 ]) : mixed
Parameters
$limit : mixed = 1
Tags
since
5.2
access

public

getScheduledPosts()

Retrieves a list of scheduled posts The first parameter 'limit' must set it to 1 for prevent those social network treat it as spam

public getScheduledPosts([mixed $limit = 1 ]) : mixed
Parameters
$limit : mixed = 1
Tags
since
4.0
access

public

getSearchableItems()

Get searchable columns

public getSearchableItems(mixed $query) : mixed
Parameters
$query : mixed
Tags
since
5.2.0
access

public

getTotal()

Method to return the total number of rows

public getTotal() : int
Tags
access

public

Return values
int

getTotalPending()

Retrieves the total number of pending posts from the site

public getTotalPending() : mixed
Tags
since
5.0
access

public

@return

getTotalPublished()

public getTotalPublished(mixed $uid) : mixed
Parameters
$uid : mixed

getTotalUnpublished()

public getTotalUnpublished(mixed $uid) : mixed
Parameters
$uid : mixed

getUnpublishScheduledPosts()

Get all blog posts thare are scheduled to be unpublised

public getUnpublishScheduledPosts() : mixed
Tags
since
5.0
access

public

@return

getUserStateFromRequest()

Gets the value of a user state variable.

public getUserStateFromRequest(mixed $key, mixed $request[, mixed $default = null ][, mixed $type = 'none' ]) : mixed
Parameters
$key : mixed
$request : mixed
$default : mixed = null
$type : mixed = 'none'

publish()

Sets the publish state of a post

public publish([mixed &$ids = [] ][, mixed $publish = 1 ]) : mixed
Parameters
$ids : mixed = []
$publish : mixed = 1
Tags
since
6.0.0
access

public

unpublishScheduledPosts()

Unpublishes blog posts that are scheduled to be unpublished

public unpublishScheduledPosts() : mixed
Tags
since
4.0
access

public

@return

updateCategoryRepostingFlag()

public updateCategoryRepostingFlag(mixed $ids) : mixed
Parameters
$ids : mixed

bindTable()

protected bindTable(mixed $tableName, mixed $result) : mixed
Parameters
$tableName : mixed
$result : mixed

implodeValues()

protected implodeValues(mixed $data) : mixed
Parameters
$data : mixed

populateState()

Populate current stats

protected populateState() : void
Tags
since
5.1
access

public


        
On this page

Search results