EasyBlogModelDownload
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $searchables : mixed
- $_data : mixed
- $_pagination : mixed
- $_total : mixed
Methods
- __construct() : mixed
- getCronDownloadReq() : mixed
- Method to retrieve records pending for cron processing.
- getExpiredRequest() : mixed
- Method to retrieve records pending for cron processing.
- getPagination() : mixed
- Method to get a pagination object for user download data
- getRequests() : mixed
- Retrieves download requests
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : mixed
- Method to get the total of user download data
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- purgeRequests() : mixed
- Removes all download requests and delete the files
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$searchables
public
mixed
$searchables
= array()
$_data
protected
mixed
$_data
= \null
$_pagination
protected
mixed
$_pagination
= \null
$_total
protected
mixed
$_total
= \null
Methods
__construct()
public
__construct() : mixed
getCronDownloadReq()
Method to retrieve records pending for cron processing.
public
getCronDownloadReq([mixed $max = 5 ]) : mixed
Parameters
- $max : mixed = 5
Tags
getExpiredRequest()
Method to retrieve records pending for cron processing.
public
getExpiredRequest([mixed $max = 10 ]) : mixed
Parameters
- $max : mixed = 10
Tags
getPagination()
Method to get a pagination object for user download data
public
getPagination() : mixed
Tags
getRequests()
Retrieves download requests
public
getRequests([mixed $options = array() ]) : mixed
Parameters
- $options : mixed = array()
Tags
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
Method to get the total of user download data
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'
purgeRequests()
Removes all download requests and delete the files
public
purgeRequests() : 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()
Stock method to auto-populate the model state.
protected
populateState() : void