Documentation

EasyBlogModelTemplates extends EasyBlogAdminModel
in package

Table of Contents

Properties

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

Methods

__construct()  : mixed
buildQuery()  : mixed
Builds the main query to retrieve post templates
getItems()  : mixed
Retrieves a list of templates
getPagination()  : mixed
Retrieve the pagination for the templates
getPostTemplates()  : mixed
Retrieves a list of post templates
getSearchableItems()  : mixed
Get searchable columns
getSystemTemplates()  : mixed
Retrieves a list of system templates
getTotal()  : mixed
Retrieves the total items
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()

Methods

buildQuery()

Builds the main query to retrieve post templates

public buildQuery([mixed $options = array() ]) : mixed
Parameters
$options : mixed = array()
Tags
since
4.0
access

public

@return

getItems()

Retrieves a list of templates

public getItems([mixed $options = array() ]) : mixed
Parameters
$options : mixed = array()
Tags
since
4.0
access

public

@return

getPagination()

Retrieve the pagination for the templates

public getPagination() : mixed
Tags
sicne

4.0

access

public

@return

getPostTemplates()

Retrieves a list of post templates

public getPostTemplates([mixed $userId = null ][, mixed $includeUnpublish = false ][, mixed $includeGlobal = true ][, mixed $docType = 'all' ][, mixed $limit = null ]) : mixed
Parameters
$userId : mixed = null
$includeUnpublish : mixed = false
$includeGlobal : mixed = true
$docType : mixed = 'all'
$limit : mixed = null
Tags
since
5.0
access

public

getSearchableItems()

Get searchable columns

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

public

getSystemTemplates()

Retrieves a list of system templates

public getSystemTemplates() : mixed
Tags
since
5.0
access

public

@return

getTotal()

Retrieves the total items

public getTotal() : mixed
Tags
since
4.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'

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