EasyBlogModelAcl
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $_data : array<string|int, mixed>
- Category data array
- $_pagination : object
- Pagination object
- $_total : int
- Category total
- $searchables : mixed
Methods
- __construct() : mixed
- _buildQueryOrderBy() : mixed
- _buildQueryWhere() : mixed
- buildQuery() : mixed
- deleteRuleset() : mixed
- getGroups() : mixed
- Retrieve a list of acl groups
- getInstalledRules() : mixed
- Retrieve a list of rules on the site
- getPagination() : int
- Method to get a pagination object for the categories
- getRules() : mixed
- getRuleSet() : mixed
- getRuleSets() : mixed
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : mixed
- getUsergroupTitle() : mixed
- Retrieve the title of the user group given the group id
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- insertRuleset() : mixed
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$_data
Category data array
public
array<string|int, mixed>
$_data
= \null
$_pagination
Pagination object
public
object
$_pagination
= \null
$_total
Category total
public
int
$_total
= \null
$searchables
public
mixed
$searchables
= array()
Methods
__construct()
public
__construct() : mixed
_buildQueryOrderBy()
public
_buildQueryOrderBy() : mixed
_buildQueryWhere()
public
_buildQueryWhere([mixed $cid = '' ]) : mixed
Parameters
- $cid : mixed = ''
buildQuery()
public
buildQuery([mixed $cid = '' ]) : mixed
Parameters
- $cid : mixed = ''
deleteRuleset()
public
deleteRuleset(mixed $cid) : mixed
Parameters
- $cid : mixed
getGroups()
Retrieve a list of acl groups
public
getGroups() : mixed
Tags
getInstalledRules()
Retrieve a list of rules on the site
public
getInstalledRules(mixed $cid[, mixed $add = false ]) : mixed
Parameters
- $cid : mixed
- $add : mixed = false
Tags
getPagination()
Method to get a pagination object for the categories
public
getPagination() : int
Tags
Return values
intgetRules()
public
getRules([mixed $key = '' ]) : mixed
Parameters
- $key : mixed = ''
getRuleSet()
public
getRuleSet(mixed $cid[, mixed $add = false ]) : mixed
Parameters
- $cid : mixed
- $add : mixed = false
getRuleSets()
public
getRuleSets([mixed $cid = '' ]) : mixed
Parameters
- $cid : mixed = ''
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
public
getTotal() : mixed
getUsergroupTitle()
Retrieve the title of the user group given the group id
public
getUsergroupTitle(mixed $id) : mixed
Parameters
- $id : mixed
Tags
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'
insertRuleset()
public
insertRuleset(mixed $cid, mixed $saveData) : mixed
Parameters
- $cid : mixed
- $saveData : mixed
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