Documentation

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()

$_pagination

protected mixed $_pagination = \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
since
5.2
access

public

getExpiredRequest()

Method to retrieve records pending for cron processing.

public getExpiredRequest([mixed $max = 10 ]) : mixed
Parameters
$max : mixed = 10
Tags
since
5.2
access

public

getPagination()

Method to get a pagination object for user download data

public getPagination() : mixed
Tags
since
5.2.6
access

public

getRequests()

Retrieves download requests

public getRequests([mixed $options = array() ]) : mixed
Parameters
$options : mixed = array()
Tags
since
5.2.6
access

public

getSearchableItems()

Get searchable columns

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

public

getTotal()

Method to get the total of user download data

public getTotal() : mixed
Tags
since
5.2.6
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'

purgeRequests()

Removes all download requests and delete the files

public purgeRequests() : mixed
Tags
since
5.2.6
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()

Stock method to auto-populate the model state.

protected populateState() : void
Tags
since
12.2

        
On this page

Search results