Class Groups Container class for all system groups

author Timo A. Hummel <Timo.Hummel@4fb.de>
version 1.0
copyright four for business AG 2003

 Methods

Constructor Function

Groups(string $table) 

Parameters

$table

string

The table to use as information source

Removes the specified group from the database.

deleteGroupByGroupname($groupname) : bool

Parameters

$groupname

Returns

boolTrue if the delete was successful

Removes the specified group from the database

deleteGroupByID(string $groupid) : bool

Parameters

$groupid

string

Specifies the group ID

Returns

boolTrue if the delete was successful

Returns all groups which are accessible by the current group.

getAccessibleGroups(array $perms) : array

Parameters

$perms

array

Returns

arrayArray of group objects

 Properties

 

DB_Contenido instance

$db : \DB_Contenido

access private
 

Storage of the source table to use for the group informations

$table : string

access private