Documentation

EasyBlogModelTeamBlogs extends EasyBlogAdminModel
in package

Table of Contents

Properties

$_data  : mixed
$_pagination  : mixed
$_total  : mixed
$searchables  : mixed

Methods

__construct()  : mixed
_buildQuery()  : string
Method to build the query for the tags
_buildQueryOrderBy()  : mixed
_buildQueryWhere()  : mixed
addTeamSubscription()  : mixed
checkIsTeamAdmin()  : mixed
deleteGroupRelations()  : mixed
Clear off any relations
getAllMembers()  : mixed
getAllMembersCount()  : mixed
getAllTeams()  : mixed
Retrieves a list of teams that are associated with the specific user
getBlogContributed()  : mixed
getCategories()  : mixed
Retrieves a list of categories for this team
getMembers()  : mixed
Retrieves a list of team members from a team
getMembersCount()  : mixed
Retrieve the members count
getPagination()  : int
Method to get a pagination object for the categories
getPostCount()  : mixed
Retrieves the total number of posts available in a team
getPosts()  : mixed
Retrieves a list of posts from a specific team
getPostTeam()  : mixed
Retrieves the team the blog post is posted into
getPostTeamId()  : mixed
getRequests()  : mixed
Retrieves a list of team blog requests
getSearchableItems()  : mixed
Get searchable columns
getTeamBlogs()  : array<string|int, mixed>
Method to get teamblog item data
getTeamJoined()  : mixed
Retrieves a list of teams the user joined
getTeamMembers()  : mixed
Retrieves a list of team members from a team blog
getTeams()  : array<string|int, mixed>
Method to get categories item data
getTeamSubscribers()  : mixed
getTotal()  : int
Method to get the total nr of the categories
getTotalRequest()  : mixed
getTotalTeamJoined()  : mixed
getUserGroups()  : mixed
Retrieves a list of Joomla User Groups associated with a team
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
getUserTeams()  : mixed
Retrieves a list of teams that are associated with the specific user
isMember()  : mixed
Determines if the given user id is a member of a team
isTeamAdmin()  : mixed
Determines if the user is a team blog admin
isTeamSubscribedEmail()  : mixed
isTeamSubscribedUser()  : mixed
preloadPostCount()  : mixed
preloadPosts()  : mixed
preloadTeamMembers()  : mixed
preload team members
preloadTotalMemberCount()  : mixed
removeAdmin()  : mixed
Remove admin right from team member
removeMember()  : mixed
Remove memnber from the team
setAdmin()  : mixed
Set member as admin
updateTeamSubscriptionEmail()  : mixed
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Stock method to auto-populate the model state.

Properties

$_pagination

public mixed $_pagination = \null

$searchables

public mixed $searchables = array()

Methods

_buildQuery()

Method to build the query for the tags

public _buildQuery() : string
Tags
access

private

Return values
string

_buildQueryOrderBy()

public _buildQueryOrderBy() : mixed

_buildQueryWhere()

public _buildQueryWhere() : mixed

addTeamSubscription()

public addTeamSubscription(mixed $teamId, mixed $email[, mixed $userId = '0' ][, mixed $fullname = '' ]) : mixed
Parameters
$teamId : mixed
$email : mixed
$userId : mixed = '0'
$fullname : mixed = ''

checkIsTeamAdmin()

public checkIsTeamAdmin(mixed $userId[, mixed $teamId = '' ]) : mixed
Parameters
$userId : mixed
$teamId : mixed = ''

deleteGroupRelations()

Clear off any relations

public deleteGroupRelations(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
4.0
access

public

@return

getAllMembers()

public getAllMembers(mixed $teamId[, mixed $limit = 0 ]) : mixed
Parameters
$teamId : mixed
$limit : mixed = 0

getAllMembersCount()

public getAllMembersCount(mixed $teamId) : mixed
Parameters
$teamId : mixed

getAllTeams()

Retrieves a list of teams that are associated with the specific user

public getAllTeams([mixed $search = '' ][, mixed $limit = null ]) : mixed
Parameters
$search : mixed = ''
$limit : mixed = null
Tags
since
5.0
access

public

getBlogContributed()

public getBlogContributed(mixed $postId) : mixed
Parameters
$postId : mixed

getCategories()

Retrieves a list of categories for this team

public getCategories(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
5.0
access

public

getMembers()

Retrieves a list of team members from a team

public getMembers(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
4.0
access

public

@return

getMembersCount()

Retrieve the members count

public getMembersCount(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
4.0
access

public

@return

getPagination()

Method to get a pagination object for the categories

public getPagination() : int
Tags
access

public

Return values
int

getPostCount()

Retrieves the total number of posts available in a team

public getPostCount(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
5.0
access

public

getPosts()

Retrieves a list of posts from a specific team

public getPosts(mixed $id[, mixed $limit = null ]) : mixed
Parameters
$id : mixed
$limit : mixed = null
Tags
since
5.0
access

public

getPostTeam()

Retrieves the team the blog post is posted into

public getPostTeam(mixed $postId) : mixed
Parameters
$postId : mixed
Tags
since
4.0
access

public

@return

getPostTeamId()

public getPostTeamId(mixed $id) : mixed
Parameters
$id : mixed

getRequests()

Retrieves a list of team blog requests

public getRequests([mixed $userId = '' ][, mixed $useLimit = true ][, mixed $search = null ]) : mixed
Parameters
$userId : mixed = ''
$useLimit : mixed = true
$search : mixed = null
Tags
since
5.1
access

public

getSearchableItems()

Get searchable columns

public getSearchableItems(mixed $query) : mixed
Parameters
$query : mixed
Tags
since
5.2.0
access

public

getTeamBlogs()

Method to get teamblog item data

public getTeamBlogs([mixed $options = array() ]) : array<string|int, mixed>
Parameters
$options : mixed = array()
Tags
access

public

Return values
array<string|int, mixed>

getTeamJoined()

Retrieves a list of teams the user joined

public getTeamJoined([mixed $id = null ]) : mixed
Parameters
$id : mixed = null
Tags
since
5.0
access

public

@return

getTeamMembers()

Retrieves a list of team members from a team blog

public getTeamMembers(mixed $teamId) : mixed
Parameters
$teamId : mixed
Tags
since
4.0
access

public

@return

getTeams()

Method to get categories item data

public getTeams() : array<string|int, mixed>
Tags
access

public

Return values
array<string|int, mixed>

getTeamSubscribers()

public getTeamSubscribers(mixed $teamId) : mixed
Parameters
$teamId : mixed

getTotal()

Method to get the total nr of the categories

public getTotal() : int
Tags
access

public

Return values
int

getTotalRequest()

public getTotalRequest() : mixed

getTotalTeamJoined()

public getTotalTeamJoined(mixed $userId) : mixed
Parameters
$userId : mixed

getUserGroups()

Retrieves a list of Joomla User Groups associated with a team

public getUserGroups(mixed $teamId) : mixed
Parameters
$teamId : mixed
Tags
since
4.0
access

public

@return

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'

getUserTeams()

Retrieves a list of teams that are associated with the specific user

public getUserTeams([mixed $userId = null ][, mixed $search = '' ][, mixed $limit = null ]) : mixed
Parameters
$userId : mixed = null
$search : mixed = ''
$limit : mixed = null
Tags
since
5.0
access

public

isMember()

Determines if the given user id is a member of a team

public isMember(mixed $teamId, mixed $userId) : mixed
Parameters
$teamId : mixed
$userId : mixed
Tags
since
4.0
access

public

@return

isTeamAdmin()

Determines if the user is a team blog admin

public isTeamAdmin(mixed $teamId[, mixed $userId = null ]) : mixed
Parameters
$teamId : mixed
$userId : mixed = null
Tags
since
5.0
access

public

@return

isTeamSubscribedEmail()

public isTeamSubscribedEmail(mixed $teamId, mixed $email) : mixed
Parameters
$teamId : mixed
$email : mixed

isTeamSubscribedUser()

public isTeamSubscribedUser(mixed $teamId, mixed $userId, mixed $email) : mixed
Parameters
$teamId : mixed
$userId : mixed
$email : mixed

preloadPostCount()

public preloadPostCount(mixed $teamIds) : mixed
Parameters
$teamIds : mixed

preloadPosts()

public preloadPosts(mixed $teamIds[, mixed $limit = EASYBLOG_TEAMBLOG_LISTING_NO_POST ]) : mixed
Parameters
$teamIds : mixed
$limit : mixed = EASYBLOG_TEAMBLOG_LISTING_NO_POST

preloadTeamMembers()

preload team members

public preloadTeamMembers(mixed $teamIds) : mixed
Parameters
$teamIds : mixed
Tags
since
5.0
access

public

@return

preloadTotalMemberCount()

public preloadTotalMemberCount(mixed $teamIds) : mixed
Parameters
$teamIds : mixed

removeAdmin()

Remove admin right from team member

public removeAdmin(mixed $userId, mixed $teamId) : mixed
Parameters
$userId : mixed
$teamId : mixed
Tags
since
5.1
access

public

removeMember()

Remove memnber from the team

public removeMember(mixed $userId, mixed $teamId) : mixed
Parameters
$userId : mixed
$teamId : mixed
Tags
since
5.1
access

public

setAdmin()

Set member as admin

public setAdmin(mixed $userId, mixed $teamId) : mixed
Parameters
$userId : mixed
$teamId : mixed
Tags
since
5.1
access

public

updateTeamSubscriptionEmail()

public updateTeamSubscriptionEmail(mixed $sid, mixed $userId, mixed $email) : mixed
Parameters
$sid : mixed
$userId : mixed
$email : 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
Tags
since
12.2

        
On this page

Search results