Start instance of base class, load configuration and establish database connection. Please don't call the constructor direcly, use the singleton pattern instead.
bool mapTargetGroupToRights(
int
$group, int
$project, [array
$rights = array()])
Maps target groups to one or more rights. Takes group id as first argument, the project id as second argument and a list of right ids as third argument.
Returns bool.
If the list of right ids is omitted, the group will be detached from all groups.
Tests given group name for uniqueness. Takes the group name as
first argument and an optional group id as second argument. If the group id is given, this group won't be considered when checking for uniqueness (useful for updates). Returns boolean true if group name is unique.