Documentation

EasyBlogModelDrafts extends EasyBlogAdminModel
in package

Table of Contents

Properties

$searchables  : mixed
$data  : mixed
$pagination  : mixed
$total  : mixed

Methods

__construct()  : mixed
_buildQuery()  : string
Method to build the query for the tags
_buildQueryOrderBy()  : mixed
_buildQueryWhere()  : mixed
Builds the where clause for drafts
discard()  : mixed
getData()  : array<string|int, mixed>
Method to get categories item data
getItems()  : mixed
Retrieves the list of draft items
getItemsPagination()  : int
Method to get a pagination object for the events
getItemsTotal()  : int
Method to return the total number of rows
getPagination()  : int
Method to get a pagination object for the categories
getSearchableItems()  : mixed
Get searchable columns
getTotal()  : mixed
methods used in frontend
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Stock method to auto-populate the model state.
buildItemsQuery()  : mixed

Properties

$searchables

public mixed $searchables = array()

$data

private mixed $data = \null

$pagination

private mixed $pagination = \null

$total

private mixed $total = \null

Methods

__construct()

public __construct() : mixed

_buildQuery()

Method to build the query for the tags

public _buildQuery() : string
Tags
access

private

Return values
string

_buildQueryOrderBy()

public _buildQueryOrderBy() : mixed

_buildQueryWhere()

Builds the where clause for drafts

public _buildQueryWhere() : mixed
Tags
since
5.0
access

public

@return

discard()

public discard(mixed $userId) : mixed
Parameters
$userId : mixed

getData()

Method to get categories item data

public getData([mixed $usePagination = true ]) : array<string|int, mixed>
Parameters
$usePagination : mixed = true
Tags
access

public

Return values
array<string|int, mixed>

getItems()

Retrieves the list of draft items

public getItems() : mixed
Tags
since
4.0
access

public

@return

getItemsPagination()

Method to get a pagination object for the events

public getItemsPagination() : int
Tags
access

public

Return values
int

getItemsTotal()

Method to return the total number of rows

public getItemsTotal() : int
Tags
access

public

Return values
int

getPagination()

Method to get a pagination object for the categories

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()

methods used in frontend

public getTotal() : mixed

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

buildItemsQuery()

private buildItemsQuery() : mixed

        
On this page

Search results