EasyBlogModelOauth
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $_data : mixed
- $_pagination : mixed
- $_total : mixed
- $searchables : mixed
Methods
- __construct() : mixed
- _buildQuery() : mixed
- Method to build the query for the tags
- _buildQueryOrderBy() : mixed
- Builds the order by clause
- _buildQueryWhere() : mixed
- Builds the where clause
- getConsumers() : mixed
- Method to get teamblog item data
- getLastTweetImport() : mixed
- Determines if the blog post is associated with a twitter previously
- getLogs() : mixed
- Retrieves a list of auto posting logs
- getPagination() : mixed
- Method to get a pagination object for the categories
- getSearchableItems() : mixed
- Get searchable columns
- getSoonTobeExpired() : mixed
- Retrieve oauth tokens thats about to expired.
- getSystemClients() : mixed
- Retrieves a list of oauth linked accounts for a particular user
- getTotal() : mixed
- Method to get the total nr of the team
- getTwitterAccounts() : mixed
- Retrieves a list of Twitter oauth accesses on the site
- getUserClients() : mixed
- Retrieves a list of oauth linked accounts for a particular user
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- hasPostsShared() : mixed
- Check if a given oauth has any posts associated or not.
- isAssociated() : mixed
- Determines if a specific client has been associated with the system
- isShared() : mixed
- Determines if a post has been shared before previously.
- markNotify() : mixed
- method to mark the notify column to true
- migrateOauthPosts() : mixed
- Check if a given oauth has any posts associated or not.
- purgeLogs() : mixed
- Purges the auto posting logs
- 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
$_total
public
mixed
$_total
= \null
$searchables
public
mixed
$searchables
= array()
Methods
__construct()
public
__construct() : mixed
_buildQuery()
Method to build the query for the tags
public
_buildQuery(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
_buildQueryOrderBy()
Builds the order by clause
public
_buildQueryOrderBy() : mixed
Tags
_buildQueryWhere()
Builds the where clause
public
_buildQueryWhere(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
getConsumers()
Method to get teamblog item data
public
getConsumers(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
getLastTweetImport()
Determines if the blog post is associated with a twitter previously
public
getLastTweetImport(mixed $oauthId) : mixed
Parameters
- $oauthId : mixed
Tags
getLogs()
Retrieves a list of auto posting logs
public
getLogs([mixed $status = '' ]) : mixed
Parameters
- $status : mixed = ''
Tags
getPagination()
Method to get a pagination object for the categories
public
getPagination() : mixed
Tags
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getSoonTobeExpired()
Retrieve oauth tokens thats about to expired.
public
getSoonTobeExpired(mixed $type, mixed $days[, mixed $isSystem = true ][, mixed $userId = 0 ]) : mixed
Parameters
- $type : mixed
- $days : mixed
- $isSystem : mixed = true
- $userId : mixed = 0
Tags
getSystemClients()
Retrieves a list of oauth linked accounts for a particular user
public
getSystemClients([mixed $type = null ]) : mixed
Parameters
- $type : mixed = null
Tags
getTotal()
Method to get the total nr of the team
public
getTotal() : mixed
Tags
getTwitterAccounts()
Retrieves a list of Twitter oauth accesses on the site
public
getTwitterAccounts() : mixed
Tags
getUserClients()
Retrieves a list of oauth linked accounts for a particular user
public
getUserClients([mixed $userId = null ]) : mixed
Parameters
- $userId : mixed = null
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'
hasPostsShared()
Check if a given oauth has any posts associated or not.
public
hasPostsShared(mixed $id) : mixed
Parameters
- $id : mixed
Tags
isAssociated()
Determines if a specific client has been associated with the system
public
isAssociated(mixed $client) : mixed
Parameters
- $client : mixed
Tags
isShared()
Determines if a post has been shared before previously.
public
isShared(mixed $postId, mixed $oauthId) : mixed
Parameters
- $postId : mixed
- $oauthId : mixed
Tags
markNotify()
method to mark the notify column to true
public
markNotify(mixed $ids) : mixed
Parameters
- $ids : mixed
Tags
migrateOauthPosts()
Check if a given oauth has any posts associated or not.
public
migrateOauthPosts(mixed $oldId, mixed $newId) : mixed
Parameters
- $oldId : mixed
- $newId : mixed
Tags
purgeLogs()
Purges the auto posting logs
public
purgeLogs() : 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