EasyBlogModelUsers
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $searchables : mixed
- $_data : mixed
- $_pagination : mixed
- $_total : mixed
Methods
- __construct() : mixed
- _buildQuery() : string
- Method to build the query for the tags
- _buildQueryLimit() : mixed
- _buildQueryOrderBy() : mixed
- _buildQueryWhere() : mixed
- authorLastOrdering() : mixed
- Retrieves last ordering value from the user table
- createUser() : mixed
- Creates a new user account given the username and email
- 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
- getUserIdByEmail() : mixed
- Retrieves
- getUsers() : array<string|int, mixed>
- Method to get categories item data
- getUsersMeta() : mixed
- Retrieves a list of user data based on the given ids.
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- permalinkExists() : bool
- Determines if the permalink exists.
- removeAdsenseSetting() : mixed
- Removed adsense configuration
- removeAvatar() : mixed
- Allow callers to remove avatar
- removeEasyBlogUser() : mixed
- Remove all the author data from easyblog table
- removeFeaturedBlogger() : mixed
- Remove this blogger from the featured listing
- removeFeedburnerSetting() : mixed
- Remove any feedburner configuration of the user
- removeOAuthSetting() : mixed
- Remove oauth settings that related to autoposting
- removeTeamBlogUser() : mixed
- Remove this author from all teams
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$searchables
public
mixed
$searchables
= array()
$_data
protected
mixed
$_data
= \null
$_pagination
protected
mixed
$_pagination
= \null
$_total
protected
mixed
$_total
= \null
Methods
__construct()
public
__construct() : mixed
_buildQuery()
Method to build the query for the tags
public
_buildQuery([mixed $bloggerOnly = false ]) : string
Parameters
- $bloggerOnly : mixed = false
Tags
Return values
string_buildQueryLimit()
public
_buildQueryLimit() : mixed
_buildQueryOrderBy()
public
_buildQueryOrderBy() : mixed
_buildQueryWhere()
public
_buildQueryWhere([mixed $tblNS = '' ]) : mixed
Parameters
- $tblNS : mixed = ''
authorLastOrdering()
Retrieves last ordering value from the user table
public
authorLastOrdering() : mixed
Tags
createUser()
Creates a new user account given the username and email
public
createUser(mixed $username, mixed $email, mixed $name[, mixed $password = false ]) : mixed
Parameters
- $username : mixed
- $email : mixed
- $name : mixed
- $password : mixed = false
Tags
getPagination()
Method to get a pagination object for the categories
public
getPagination([mixed $bloggerOnly = false ]) : int
Parameters
- $bloggerOnly : mixed = false
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([mixed $bloggerOnly = false ]) : int
Parameters
- $bloggerOnly : mixed = false
Tags
Return values
intgetUserIdByEmail()
Retrieves
public
getUserIdByEmail(mixed $email) : mixed
Parameters
- $email : mixed
Tags
getUsers()
Method to get categories item data
public
getUsers([mixed $bloggerOnly = false ][, mixed $paginate = true ]) : array<string|int, mixed>
Parameters
- $bloggerOnly : mixed = false
- $paginate : mixed = true
Tags
Return values
array<string|int, mixed>getUsersMeta()
Retrieves a list of user data based on the given ids.
public
getUsersMeta([array<string|int, mixed> $ids = array() ]) : mixed
Parameters
- $ids : array<string|int, mixed> = array()
-
An array of ids.
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'
permalinkExists()
Determines if the permalink exists.
public
permalinkExists(mixed $permalink, mixed $id) : bool
Parameters
- $permalink : mixed
- $id : mixed
Tags
Return values
bool —True if exists , false otherwise
removeAdsenseSetting()
Removed adsense configuration
public
removeAdsenseSetting(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
removeAvatar()
Allow callers to remove avatar
public
removeAvatar(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
removeEasyBlogUser()
Remove all the author data from easyblog table
public
removeEasyBlogUser(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
removeFeaturedBlogger()
Remove this blogger from the featured listing
public
removeFeaturedBlogger(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
removeFeedburnerSetting()
Remove any feedburner configuration of the user
public
removeFeedburnerSetting(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
removeOAuthSetting()
Remove oauth settings that related to autoposting
public
removeOAuthSetting(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
removeTeamBlogUser()
Remove this author from all teams
public
removeTeamBlogUser(mixed $userId) : mixed
Parameters
- $userId : mixed
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