class CTableGroup extends CTableCache


Located at : UKNOWVA_ROOT/components/com_community/tables/group.php

Properties

$id
$published
$ownerid
$categoryid
$name
$description
$email
$website
$approvals
$created
$avatar
$thumb
$discusscount
$wallcount
$membercount
$params
$_pagination
$storage

Methods

__construct($db)

Constructor

getPagination()

No description

updateMembers()

No description

updateStats()

Update all internal count without saving them

check()

No description

store()

Binds an array into this object's property

string
getCategoryName()

Return the category name for the current group

string
getAvatar()

Return the full URL path for the specific image

getThumbAvatar()

No description

string
getOwnerName()

Return the owner's name for the current group

getParams()

No description

boolean
isMember(string $userid)

Method to determine whether the specific user is a member of a group

isBanned($userid)

No description

isAdmin($userid)

No description

getLink($xhtml = false)

No description

getMembersCount()

No description

isPrivate()

Determines if the current group is a private group.

isPublic()

Determines if the current group is a public group.

tagAllow($userid)

Return true if the user is allow to modify the tag

tagGetTitle()

Return the title of the object

bindRequestParams()

Allows caller to bind parameters from the request

updateOwner($oldOwner, $newOwner)

Allows caller to update the owner name

addMember($data)

No description

deleteMember($gid, $memberid)

No description

getAdmins($limit, $randomize = false)

No description

setImage($path, $type = 'thumb')

No description

upgradeWallToStream()

In 2.4, wall is removed and converted to stream data On first load, import old wall to stream data

Details

at line 36
__construct($db)

Constructor

Parameters

$db

at line 48
getPagination()

at line 53
updateMembers()

at line 70
updateStats()

Update all internal count without saving them

at line 104
check()

at line 126
store()

Binds an array into this object's property

at line 145
string getCategoryName()

Return the category name for the current group

Return Value

string The category name

at line 159
string getAvatar()

Return the full URL path for the specific image

Return Value

string The avatar's URI

at line 185
getThumbAvatar()

at line 211
string getOwnerName()

Return the owner's name for the current group

Return Value

string The owner's name

at line 217
getParams()

at line 230
boolean isMember(string $userid)

Method to determine whether the specific user is a member of a group

Parameters

string $userid User's id

Return Value

boolean True if user is registered and false otherwise

at line 246
isBanned($userid)

Parameters

$userid

at line 263
isAdmin($userid)

Parameters

$userid

Parameters

$xhtml

at line 296
getMembersCount()

at line 304
isPrivate()

Determines if the current group is a private group.

at line 312
isPublic()

Determines if the current group is a public group.

at line 320
tagAllow($userid)

Return true if the user is allow to modify the tag

Parameters

$userid

at line 328
tagGetTitle()

Return the title of the object

at line 337
bindRequestParams()

Allows caller to bind parameters from the request

at line 380
updateOwner($oldOwner, $newOwner)

Allows caller to update the owner name

Parameters

$oldOwner
$newOwner

at line 420
addMember($data)

Parameters

$data

at line 438
deleteMember($gid, $memberid)

Parameters

$gid
$memberid

at line 454
getAdmins($limit, $randomize = false)

Parameters

$limit
$randomize

at line 499
setImage($path, $type = 'thumb')

Parameters

$path
$type

at line 540
upgradeWallToStream()

In 2.4, wall is removed and converted to stream data On first load, import old wall to stream data