Documentation

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

public

getBlock()

Retrieves a specific block on the site

public getBlock(mixed $element, mixed $group) : mixed
Parameters
$element : mixed
$group : mixed
Tags
since
6.0.0
access

public

getBlocks()

Retrieves a list of available blocks on the site

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

public

getGroups()

Retrieve the groups of the blocks

public getGroups() : mixed
Tags
since
4.0
access

public

getPagination()

Retrieves the pagination

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

public

getQuery()

Retrieves a list of available blocks on the site

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

public

getSearchableItems()

Get searchable columns

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

public

getTotal()

Retrieves the total items

public getTotal([mixed $options = array() ]) : mixed
Parameters
$options : mixed = array()
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'

loadAllBlocks()

Retrieves all blocks installed on the site

public loadAllBlocks() : mixed
Tags
since
5.4.0
access

public

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

public

validateBlock()

Perform validation on the block to ensure it can be used for the authors

private validateBlock(mixed $block) : mixed
Parameters
$block : mixed
Tags
since
6.0.0
access

public


        
On this page

Search results