Documentation

EasyBlogTableTeamBlog extends EasyBlogTable
in package

Table of Contents

Properties

$access  : mixed
$alias  : mixed
$allow_join  : mixed
$avatar  : mixed
$created  : mixed
$description  : mixed
$id  : mixed
$published  : mixed
$title  : mixed
$_supportNullValue  : mixed

Methods

__construct()  : mixed
aliasExists()  : mixed
allowSubscription()  : mixed
bind()  : mixed
Binds the posted data with the object
canJoin()  : mixed
Determine if user can join this team
canRemoveMember()  : mixed
Determine if user can remove member from the team
delete()  : mixed
Override the parent's delete method as we want to apply our own logics
deleteGroup()  : mixed
deleteMembers()  : mixed
getAccess()  : mixed
Get Team Access Type
getAlias()  : mixed
Retrieves the alias of
getAllMembersCount()  : mixed
Returns the total number of members in a team including users from associated joomla groups.
getAtom()  : mixed
Retrieves the atom link for the team blog
getAvatar()  : mixed
Retrieves the team blog's avatar
getCategories()  : mixed
Retrieves a list of categories in this team
getDBO()  : mixed
Retrieves the database object
getDescription()  : mixed
getEditPermalink()  : mixed
Retrieves the edit permalink of a team blog
getExternalPermalink()  : mixed
Retrieves the external permalink for this team
getGroups()  : mixed
Retrieves a list of Joomla user groups that is linked to this team
getInstance()  : mixed
Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.
getMemberCount()  : mixed
Use @getMembersCount instead
getMembers()  : mixed
Retrieves a list of team members from this team
getMembersCount()  : mixed
Returns the total number of members in a team
getParams()  : mixed
Generic method to retrive raw json params from the table
getPermalink()  : mixed
Retrieves the permalink of a team blog
getPostCount()  : mixed
Retrieves the total number of posts available in this team
getRSS()  : mixed
Retrieves the rss link for team blog
getRssLink()  : mixed
Retrieves rss link for the category
getTags()  : mixed
Retrieve a list of tags created by this team
getTitle()  : mixed
Get the title of the team
includeTitleDesc()  : mixed
Determines whether to include title and description in toolbar
isActualMember()  : mixed
Determine if user is the actual member of this team
isFeatured()  : mixed
Determines if the team is featured
isMember()  : mixed
Determines if the user or group is part of a team
isPostOwner()  : mixed
Determines whether the current blog entry belongs to the team.
isPublished()  : mixed
Get publish state
isTeamAdmin()  : mixed
Determines if the user is a team admin.
load()  : mixed
reset()  : void
Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties.
store()  : mixed
On Joomla 4, if table object contains array or objects, storing is problematic unlike Joomla 3.
toArray()  : mixed
Converts a table layer into an array
unpublish()  : mixed
Method to unpublish teams
uploadAvatar()  : mixed
Uploads a team avatar
viewable()  : mixed
Determines if the team's content is viewable

Properties

$allow_join

public mixed $allow_join = \null

$description

public mixed $description = \null

$published

public mixed $published = \null

$_supportNullValue

protected mixed $_supportNullValue = true

Methods

__construct()

public __construct(mixed &$db) : mixed
Parameters
$db : mixed

aliasExists()

public aliasExists() : mixed

allowSubscription()

public allowSubscription(mixed $access, mixed $userid, mixed $ismember[, mixed $aclallowsubscription = false ]) : mixed
Parameters
$access : mixed
$userid : mixed
$ismember : mixed
$aclallowsubscription : mixed = false

bind()

Binds the posted data with the object

public bind(mixed $data[, mixed $ignore = [] ]) : mixed
Parameters
$data : mixed
$ignore : mixed = []
Tags
since
5.0
access

public

canJoin()

Determine if user can join this team

public canJoin() : mixed
Tags
since
5.1
access

public

canRemoveMember()

Determine if user can remove member from the team

public canRemoveMember([mixed $memberId = null ]) : mixed
Parameters
$memberId : mixed = null
Tags
since
5.1
access

public

delete()

Override the parent's delete method as we want to apply our own logics

public delete([mixed $pk = null ]) : mixed
Parameters
$pk : mixed = null
Tags
since
4.0
access

public

deleteGroup()

public deleteGroup([mixed $groupId = '' ]) : mixed
Parameters
$groupId : mixed = ''

deleteMembers()

public deleteMembers([mixed $userId = '' ]) : mixed
Parameters
$userId : mixed = ''

getAccess()

Get Team Access Type

public getAccess() : mixed
Tags
since
5.1
access

public

getAlias()

Retrieves the alias of

public getAlias() : mixed
Tags
since
5.0
access

public

getAllMembersCount()

Returns the total number of members in a team including users from associated joomla groups.

public getAllMembersCount() : mixed
Tags
since
4.0
access

public

getAtom()

Retrieves the atom link for the team blog

public getAtom() : mixed
Tags
since
5.1
access

public

getAvatar()

Retrieves the team blog's avatar

public getAvatar() : mixed
Tags
since
4.0

getCategories()

Retrieves a list of categories in this team

public getCategories() : mixed
Tags
since
5.0
access

public

getDBO()

Retrieves the database object

public getDBO() : mixed
Tags
since
6.0.0
access

public

getDescription()

public getDescription([mixed $raw = false ]) : mixed
Parameters
$raw : mixed = false

Retrieves the edit permalink of a team blog

public getEditPermalink([mixed $xhtml = true ]) : mixed
Parameters
$xhtml : mixed = true
Tags
since
5.1
access

public

Retrieves the external permalink for this team

public getExternalPermalink() : mixed
Tags
since
5.1
access

public

getGroups()

Retrieves a list of Joomla user groups that is linked to this team

public getGroups() : mixed
Tags
since
4.0
access

public

getInstance()

Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.

public static getInstance(string $type[, string $prefix = 'JTable' ][, array<string|int, mixed> $config = [] ]) : mixed
Parameters
$type : string

The type (name) of the JTable class to get an instance of.

$prefix : string = 'JTable'

An optional prefix for the table class name.

$config : array<string|int, mixed> = []

An optional array of configuration values for the JTable object.

Tags
link
http://docs.joomla.org/JTable/getInstance
since
11.1
Return values
mixed

A JTable object if found or boolean false if one could not be found.

getMemberCount()

Use @getMembersCount instead

public getMemberCount() : mixed

getMembers()

Retrieves a list of team members from this team

public getMembers() : mixed
Tags
since
4.0

getMembersCount()

Returns the total number of members in a team

public getMembersCount() : mixed
Tags
since
4.0
access

public

getParams()

Generic method to retrive raw json params from the table

public final getParams() : mixed
Tags
since
1.1.0
access

public

Retrieves the permalink of a team blog

public getPermalink() : mixed
Tags
since
4.0
access

public

getPostCount()

Retrieves the total number of posts available in this team

public getPostCount() : mixed
Tags
since
5.0
access

public

getRSS()

Retrieves the rss link for team blog

public getRSS() : mixed
Tags
since
5.1
access

public

Retrieves rss link for the category

public getRssLink() : mixed
Tags
since
4.0
access

public

getTags()

Retrieve a list of tags created by this team

public getTags() : mixed

getTitle()

Get the title of the team

public getTitle() : mixed
Tags
since
4.0
access

public

includeTitleDesc()

Determines whether to include title and description in toolbar

public includeTitleDesc() : mixed
Tags
since
5.1
access

public

isActualMember()

Determine if user is the actual member of this team

public isActualMember([mixed $userId = null ]) : mixed
Parameters
$userId : mixed = null
Tags
since
5.1
access

public

isFeatured()

Determines if the team is featured

public isFeatured() : mixed
Tags
since
4.0
access

public

isMember()

Determines if the user or group is part of a team

public isMember(mixed $userId[, mixed $gid = '' ][, mixed $findTeamAccess = true ]) : mixed
Parameters
$userId : mixed
$gid : mixed = ''
$findTeamAccess : mixed = true
Tags
since
4.0
access

public

isPostOwner()

Determines whether the current blog entry belongs to the team.

public isPostOwner(mixed $postId) : mixed
Parameters
$postId : mixed
Tags
since
5.0
access

public

isPublished()

Get publish state

public isPublished() : mixed
Tags
since
5.1
access

public

isTeamAdmin()

Determines if the user is a team admin.

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

public

load()

public load([mixed $key = null ][, mixed $permalink = false ]) : mixed
Parameters
$key : mixed = null
$permalink : mixed = false

reset()

Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties.

public reset() : void
Tags
link
http://docs.joomla.org/JTable/reset
since
11.1

store()

On Joomla 4, if table object contains array or objects, storing is problematic unlike Joomla 3.

public store([mixed $updateNulls = false ]) : mixed

To fix Joomla 4 storing issues, we override the store behavior and normalize the fields accordingly.

Parameters
$updateNulls : mixed = false
Tags
since
1.1.0
access

public

toArray()

Converts a table layer into an array

public toArray() : mixed
Tags
since
1.1.0
access

public

unpublish()

Method to unpublish teams

public unpublish([mixed $pks = null ][, mixed $state = false ]) : mixed
Parameters
$pks : mixed = null
$state : mixed = false
Tags
since
4.0
access

public

uploadAvatar()

Uploads a team avatar

public uploadAvatar(mixed $file) : mixed
Parameters
$file : mixed
Tags
since
4.0
access

public

viewable()

Determines if the team's content is viewable

public viewable([mixed $userId = '' ]) : mixed
Parameters
$userId : mixed = ''
Tags
since
4.0
access

public


        
On this page

Search results