EasyBlogModelBlockTemplates
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
- getBlockTemplates() : mixed
- Retrieves a list of block templates
- getGlobalTemplates() : mixed
- Retrieves a list of global templates
- getItems() : mixed
- Retrieves a list of templates
- getPagination() : mixed
- Retrieve the pagination for the templates
- getSearchableItems() : mixed
- Get searchable columns
- 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()
$total
public
mixed
$total
= \null
Methods
__construct()
public
__construct() : mixed
buildQuery()
Builds the main query to retrieve post templates
public
buildQuery([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
Tags
getBlockTemplates()
Retrieves a list of block templates
public
getBlockTemplates([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
Tags
getGlobalTemplates()
Retrieves a list of global templates
public
getGlobalTemplates() : mixed
Tags
getItems()
Retrieves a list of templates
public
getItems([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
Tags
getPagination()
Retrieve the pagination for the templates
public
getPagination() : mixed
Tags
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
Retrieves the total items
public
getTotal() : 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