EasyBlogModelBloggers
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
- _buildQueryGroupBy() : mixed
- Constructs the group by statement
- _buildQueryOrderBy() : mixed
- Constructs the order by clause
- _buildQueryWhere() : mixed
- Builds the where clause
- getBloggerCloud() : mixed
- Generates a list of blogger on the site
- getJoomlaUserGroups() : mixed
- Retrieves a list of Joomla user groups from the site
- getMissingMetaBloggers() : mixed
- Method to retrive those user who missing blogger meta data.
- getPagination() : int
- Method to get a pagination object for the categories
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : int
- Method to get the total nr of the categories
- getUsers() : mixed
- Retrieves a list of users
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- orderingUpdate() : mixed
- Method to update blogger ordering
- publish() : mixed
- Method to publish or unpublish categories
- resetBloggerOrdering() : mixed
- Method to reset blogger ordering from lower blogger id to higher.
- search() : mixed
- Searches for a usertags given a specific keyword
- suggest() : mixed
- Searches for a usertags given a specific keyword
- 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('id', 'email')
$total
public
mixed
$total
= \null
Methods
__construct()
public
__construct() : mixed
_buildQuery()
Method to build the query for the tags
public
_buildQuery([mixed $browsingMode = false ][, mixed $exclusion = array() ][, mixed $isCount = false ]) : string
Parameters
- $browsingMode : mixed = false
- $exclusion : mixed = array()
- $isCount : mixed = false
Tags
Return values
string_buildQueryGroupBy()
Constructs the group by statement
public
_buildQueryGroupBy() : mixed
Tags
_buildQueryOrderBy()
Constructs the order by clause
public
_buildQueryOrderBy([mixed $browsingMode = false ]) : mixed
Parameters
- $browsingMode : mixed = false
Tags
_buildQueryWhere()
Builds the where clause
public
_buildQueryWhere([mixed $browsingMode = false ][, mixed $exclusion = array() ]) : mixed
Parameters
- $browsingMode : mixed = false
- $exclusion : mixed = array()
Tags
getBloggerCloud()
Generates a list of blogger on the site
public
getBloggerCloud([mixed $limit = '' ][, mixed $order = 'postcount' ][, mixed $sort = 'asc' ][, mixed $usePagination = false ]) : mixed
Parameters
- $limit : mixed = ''
- $order : mixed = 'postcount'
- $sort : mixed = 'asc'
- $usePagination : mixed = false
Tags
getJoomlaUserGroups()
Retrieves a list of Joomla user groups from the site
public
getJoomlaUserGroups([mixed $userId = '' ]) : mixed
Parameters
- $userId : mixed = ''
Tags
getMissingMetaBloggers()
Method to retrive those user who missing blogger meta data.
public
getMissingMetaBloggers() : mixed
Tags
getPagination()
Method to get a pagination object for the categories
public
getPagination() : int
Tags
Return values
intgetSearchableItems()
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
intgetUsers()
Retrieves a list of users
public
getUsers([mixed $isBrowse = false ][, mixed $exclusion = array() ]) : mixed
Parameters
- $isBrowse : mixed = false
- $exclusion : mixed = array()
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'
orderingUpdate()
Method to update blogger ordering
public
orderingUpdate(mixed $userId, mixed $orderId) : mixed
Parameters
- $userId : mixed
- $orderId : mixed
Tags
publish()
Method to publish or unpublish categories
public
publish([mixed &$categories = array() ][, mixed $state = 1 ]) : mixed
Parameters
- $categories : mixed = array()
- $state : mixed = 1
Tags
resetBloggerOrdering()
Method to reset blogger ordering from lower blogger id to higher.
public
resetBloggerOrdering() : mixed
Tags
search()
Searches for a usertags given a specific keyword
public
search(mixed $keyword[, mixed $wordSearch = true ][, mixed $limit = null ]) : mixed
Parameters
- $keyword : mixed
- $wordSearch : mixed = true
- $limit : mixed = null
Tags
suggest()
Searches for a usertags given a specific keyword
public
suggest(mixed $keyword[, mixed $limit = null ]) : mixed
Parameters
- $keyword : mixed
- $limit : mixed = null
Tags
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