EasyBlogModelMaintenance
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $_pagination : mixed
- $_total : mixed
- $searchables : mixed
- $scripts : array<string|int, mixed>
- Caches the scripts path and filename.
- $versions : array<string|int, mixed>
- Caches the available versions.
Methods
- __construct() : mixed
- getItemByKey() : mixed
- getItemByKeys() : mixed
- getItems() : mixed
- getPagination() : int
- Method to get a pagination object for the events
- getSearchableItems() : mixed
- Get searchable columns
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- getVersions() : mixed
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
- getScripts() : mixed
- initScripts() : mixed
- sortItems() : mixed
Properties
$_pagination
public
mixed
$_pagination
= \null
$_total
public
mixed
$_total
$searchables
public
mixed
$searchables
= array()
$scripts
Caches the scripts path and filename.
private
static array<string|int, mixed>
$scripts
= array()
$versions
Caches the available versions.
private
static array<string|int, mixed>
$versions
= array()
Methods
__construct()
public
__construct() : mixed
getItemByKey()
public
getItemByKey(mixed $key) : mixed
Parameters
- $key : mixed
getItemByKeys()
public
getItemByKeys(mixed $keys) : mixed
Parameters
- $keys : mixed
getItems()
public
getItems() : mixed
getPagination()
Method to get a pagination object for the events
public
getPagination() : int
Tags
Return values
intgetSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : 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'
getVersions()
public
getVersions() : mixed
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
getScripts()
private
getScripts() : mixed
initScripts()
private
initScripts() : mixed
sortItems()
private
sortItems(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed