Documentation

EasyBlogModelReactions extends EasyBlogAdminModel
in package

Table of Contents

Properties

$searchables  : mixed
$total  : mixed

Methods

__construct()  : mixed
deletePostReactions()  : mixed
Delete reactions history for a particular post
getData()  : mixed
Used in the administration area to list recent reactions
getPagination()  : mixed
Retrieves the pagination
getReactionHistory()  : mixed
Retrieves the reaction history
getReactions()  : mixed
Retrieves type of reactions
getSearchableItems()  : mixed
Get searchable columns
getUserReaction()  : mixed
Retrieves the reaction object
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
storeReaction()  : mixed
Store reaction per post by given user
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Stock method to auto-populate the model state.

Properties

$searchables

public mixed $searchables = array()

Methods

deletePostReactions()

Delete reactions history for a particular post

public deletePostReactions(mixed $postId) : mixed
Parameters
$postId : mixed
Tags
since
5.1
access

public

getData()

Used in the administration area to list recent reactions

public getData() : mixed
Tags
since
5.1
access

public

getPagination()

Retrieves the pagination

public getPagination() : mixed
Tags
since
5.1
access

public

getReactionHistory()

Retrieves the reaction history

public getReactionHistory(mixed $postId, mixed $userId, mixed $tokenId) : mixed
Parameters
$postId : mixed
$userId : mixed
$tokenId : mixed
Tags
since
5.1
access

public

getSearchableItems()

Get searchable columns

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

public

getUserReaction()

Retrieves the reaction object

public getUserReaction(mixed $postId, mixed $userId, mixed $tokenId) : mixed
Parameters
$postId : mixed
$userId : mixed
$tokenId : mixed
Tags
since
5.1
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'

storeReaction()

Store reaction per post by given user

public storeReaction(mixed $userId, mixed $tokenId, mixed $postId, mixed $reactionId) : mixed
Parameters
$userId : mixed
$tokenId : mixed
$postId : mixed
$reactionId : mixed
Tags
since
5.1
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