EasyBlogModelBlocks
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $searchables : mixed
Methods
- __construct() : mixed
- getAvailableBlocks() : mixed
- Retrieves a list of available blocks
- getBlock() : mixed
- Retrieves a specific block on the site
- getBlocks() : mixed
- Retrieves a list of available blocks on the site
- getGroups() : mixed
- Retrieve the groups of the blocks
- getPagination() : mixed
- Retrieves the pagination
- getQuery() : mixed
- Retrieves a list of available blocks on the site
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : mixed
- Retrieves the total items
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- loadAllBlocks() : mixed
- Retrieves all blocks installed on the site
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Populate current stats
- validateBlock() : mixed
- Perform validation on the block to ensure it can be used for the authors
Properties
$searchables
public
mixed
$searchables
= array()
Methods
__construct()
public
__construct() : mixed
getAvailableBlocks()
Retrieves a list of available blocks
public
getAvailableBlocks([mixed $type = 'ebd' ]) : mixed
Parameters
- $type : mixed = 'ebd'
Tags
getBlock()
Retrieves a specific block on the site
public
getBlock(mixed $element, mixed $group) : mixed
Parameters
- $element : mixed
- $group : mixed
Tags
getBlocks()
Retrieves a list of available blocks on the site
public
getBlocks([mixed $options = [] ]) : mixed
Parameters
- $options : mixed = []
Tags
getGroups()
Retrieve the groups of the blocks
public
getGroups() : mixed
Tags
getPagination()
Retrieves the pagination
public
getPagination([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
Tags
getQuery()
Retrieves a list of available blocks on the site
public
getQuery([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
Tags
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
Retrieves the total items
public
getTotal([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
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'
loadAllBlocks()
Retrieves all blocks installed on the site
public
loadAllBlocks() : mixed
Tags
bindTable()
protected
bindTable(mixed $tableName, mixed $result) : mixed
Parameters
- $tableName : mixed
- $result : mixed
implodeValues()
protected
implodeValues(mixed $data) : mixed
Parameters
- $data : mixed
populateState()
Populate current stats
protected
populateState() : void
Tags
validateBlock()
Perform validation on the block to ensure it can be used for the authors
private
validateBlock(mixed $block) : mixed
Parameters
- $block : mixed