Documentation

Group
in package

Resource Group handles querying and formatting group representations

Table of Contents

$_driver  : mixed
__construct()  : mixed
exists()  : bool
export()  : mixed
Export Group names and members
getGroupIdByName()  : string
Resolve group names to Ids
getGroupNameById()  : string
import()  : mixed

Properties

$_driver

private mixed $_driver

Methods

__construct()

public __construct(Horde_Group_Base $driver) : mixed
Parameters
$driver : Horde_Group_Base
Return values
mixed

exists()

public exists(string $gid) : bool
Parameters
$gid : string
Return values
bool

export()

Export Group names and members

public export() : mixed

We don't export IDs as these don't reproduce well TODO: handle email

Return values
mixed

getGroupIdByName()

Resolve group names to Ids

public getGroupIdByName(string $name) : string

In yaml, we generally reference groups by name We don't have any means to import groups by a specific gid

However, most resources relate to groups by gid Gid are also not really portable over backends

Sql gids are numeric, Ldap gids are strings

Parameters
$name : string
Return values
string

getGroupNameById()

public getGroupNameById(string $gid) : string
Parameters
$gid : string
Return values
string

import()

public import(array<string|int, mixed> $item) : mixed
Parameters
$item : array<string|int, mixed>
Return values
mixed

Search results