EasyBlogModelOptimizer
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $_data : mixed
- $_pagination : mixed
- $_total : mixed
- $searchables : mixed
Methods
- __construct() : mixed
- getPhotosToOptimize() : mixed
- Retrieves a list of image attachments that are not processed by the image optimizer yet
- getSearchableItems() : mixed
- Get searchable columns
- 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
$_data
public
mixed
$_data
= \null
$_pagination
public
mixed
$_pagination
= \null
$_total
public
mixed
$_total
= \null
$searchables
public
mixed
$searchables
= array()
Methods
__construct()
public
__construct() : mixed
getPhotosToOptimize()
Retrieves a list of image attachments that are not processed by the image optimizer yet
public
getPhotosToOptimize([mixed $limit = 5 ]) : mixed
Parameters
- $limit : mixed = 5
Tags
getSearchableItems()
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'
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