Documentation

EasyBlogModelReports 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
Builds the order by clause
_buildQueryWhere()  : mixed
Builds the where clause
deleteReports()  : mixed
Delete reports for the given id and type
getData()  : mixed
Method to get categories item data
getPagination()  : int
Method to get a pagination object for the categories
getReportPosts()  : mixed
Retrieve lists of user's reported posts
getSearchableItems()  : mixed
Get searchable columns
getTotal()  : int
Method to get the total nr of the categories
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

$pagination

public mixed $pagination = \null

$searchables

public mixed $searchables = array()

Methods

__construct()

public __construct() : mixed

_buildQuery()

Method to build the query for the tags

public _buildQuery([mixed $publishedOnly = false ][, mixed $totalOnly = false ]) : string
Parameters
$publishedOnly : mixed = false
$totalOnly : mixed = false
Tags
access

private

Return values
string

_buildQueryOrderBy()

Builds the order by clause

public _buildQueryOrderBy() : mixed
Tags
since
5.0
access

public

_buildQueryWhere()

Builds the where clause

public _buildQueryWhere() : mixed
Tags
since
5.0
access

public

deleteReports()

Delete reports for the given id and type

public deleteReports(mixed $id, mixed $type) : mixed
Parameters
$id : mixed
$type : mixed
Tags
since
5.0
access

public

getData()

Method to get categories item data

public getData([mixed $usePagination = true ]) : mixed
Parameters
$usePagination : mixed = true
Tags
since
5.0
access

public

getPagination()

Method to get a pagination object for the categories

public getPagination() : int
Tags
access

public

Return values
int

getReportPosts()

Retrieve lists of user's reported posts

public getReportPosts([mixed $options = array() ]) : mixed
Parameters
$options : mixed = array()
Tags
since
5.2
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 nr of the categories

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
Loading…
On this page

Search results