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
$data
public
mixed
$data
= \null
$pagination
public
mixed
$pagination
= \null
$searchables
public
mixed
$searchables
= array()
$total
public
mixed
$total
= \null
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
Return values
string_buildQueryOrderBy()
Builds the order by clause
public
_buildQueryOrderBy() : mixed
Tags
_buildQueryWhere()
Builds the where clause
public
_buildQueryWhere() : mixed
Tags
deleteReports()
Delete reports for the given id and type
public
deleteReports(mixed $id, mixed $type) : mixed
Parameters
- $id : mixed
- $type : mixed
Tags
getData()
Method to get categories item data
public
getData([mixed $usePagination = true ]) : mixed
Parameters
- $usePagination : mixed = true
Tags
getPagination()
Method to get a pagination object for the categories
public
getPagination() : int
Tags
Return values
intgetReportPosts()
Retrieve lists of user's reported posts
public
getReportPosts([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 nr of the categories
public
getTotal() : int
Tags
Return values
intgetUserStateFromRequest()
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