Documentation

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

$pagination

public mixed $pagination = \null

$searchables

public mixed $searchables = array('id')

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
since
5.1
access

public

getBlogs()

Retrieves a list of pending posts

public getBlogs([mixed $withOrder = false ]) : mixed
Parameters
$withOrder : mixed = false
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

getSearchableItems()

Get searchable columns

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

public

getTotal()

Retrieves the total number of pending posts

public getTotal() : mixed
Tags
since
5.0
access

public

@return

getTotalPending()

Retrieves total number of pending blog posts by a specific user

public getTotalPending(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
since
4.0
access

public

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
Tags
since
12.2

        
On this page

Search results