Documentation

EasyBlogModelSubscriptions extends EasyBlogAdminModel
in package

Table of Contents

Properties

$data  : mixed
$pagination  : mixed
$searchables  : mixed
$total  : mixed

Methods

__construct()  : mixed
_buildQuery()  : string
Method to build the query for the tags
_buildQueryOrderBy()  : mixed
_buildQueryWhere()  : mixed
deleteSubscriptions()  : mixed
Allows a caller to remove a subscription
deleteUserSubscriptions()  : mixed
Allows a caller to remove a subscription
getPagination()  : int
Method to get a pagination object
getSearchableItems()  : mixed
Get searchable columns
getSiteSubscribers()  : mixed
getSubscriptions()  : mixed
getSubscriptionsByUser()  : mixed
Retrieves a list of subscriptions a user has
getTotal()  : int
Method to get the total number of records
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

$searchables

public mixed $searchables = array()

Methods

_buildQuery()

Method to build the query for the tags

public _buildQuery() : string
Tags
access

private

Return values
string

deleteSubscriptions()

Allows a caller to remove a subscription

public deleteSubscriptions(mixed $uid, mixed $type) : mixed
Parameters
$uid : mixed
$type : mixed
Tags
since
5.0
access

public

deleteUserSubscriptions()

Allows a caller to remove a subscription

public deleteUserSubscriptions(mixed $key[, mixed $type = 'user_id' ]) : mixed
Parameters
$key : mixed
$type : mixed = 'user_id'
Tags
since
5.2.0
access

public

getPagination()

Method to get a pagination object

public getPagination() : int
Tags
access

public

Return values
int

getSearchableItems()

Get searchable columns

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

public

getSubscriptions()

public getSubscriptions([mixed $sort = 'latest' ][, mixed $filter = 'site' ]) : mixed
Parameters
$sort : mixed = 'latest'
$filter : mixed = 'site'

getSubscriptionsByUser()

Retrieves a list of subscriptions a user has

public getSubscriptionsByUser([mixed $userId = null ]) : mixed
Parameters
$userId : mixed = null
Tags
since
5.1
access

public

getTotal()

Method to get the total number of records

public getTotal() : int
Tags
access

public

Return values
int

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
Tags
since
12.2

        
On this page

Search results