EasyBlogModelPending
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $data : mixed
- $pagination : mixed
- $searchables : mixed
- $total : mixed
Methods
- __construct() : mixed
- _buildQueryOrderBy() : mixed
- _buildQueryWhere() : mixed
- buildQuery() : mixed
- Builds the query for pending posts
- getBlogs() : mixed
- Retrieves a list of pending posts
- getPagination() : int
- Method to get a pagination object for the events
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : mixed
- Retrieves the total number of pending posts
- getTotalPending() : mixed
- Retrieves total number of pending blog posts by a specific user
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$data
public
mixed
$data
= \null
$pagination
public
mixed
$pagination
= \null
$searchables
public
mixed
$searchables
= array('id')
$total
public
mixed
$total
Methods
__construct()
public
__construct() : mixed
_buildQueryOrderBy()
public
_buildQueryOrderBy() : mixed
_buildQueryWhere()
public
_buildQueryWhere() : mixed
buildQuery()
Builds the query for pending posts
public
buildQuery([mixed $withOrder = false ][, mixed $isCount = false ]) : mixed
Parameters
- $withOrder : mixed = false
- $isCount : mixed = false
Tags
getBlogs()
Retrieves a list of pending posts
public
getBlogs([mixed $withOrder = false ]) : mixed
Parameters
- $withOrder : mixed = false
Tags
getPagination()
Method to get a pagination object for the events
public
getPagination() : int
Tags
Return values
intgetSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
Retrieves the total number of pending posts
public
getTotal() : mixed
Tags
getTotalPending()
Retrieves total number of pending blog posts by a specific user
public
getTotalPending(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
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'
bindTable()
protected
bindTable(mixed $tableName, mixed $result) : mixed
Parameters
- $tableName : mixed
- $result : mixed
implodeValues()
protected
implodeValues(mixed $data) : mixed
Parameters
- $data : mixed
populateState()
Stock method to auto-populate the model state.
protected
populateState() : void