SsoGroup

package sso\lib\dao

 Methods

Return groups for active types

getActive(integer $type) : array<mixed,string>
Static

Parameters

$type

integer

SsoGroupElement::TYPE_* binary mask

Returns

array<mixed,string>id => name : group name indexed by group id

Return all groups

getAll() : array<mixed,string>
Static

Returns

array<mixed,string>id => name

Return default groups for a groupable element

getDefaultsGroupElements(\sso\SsoGroupable $obj) : array<mixed,\sso\SsoGroupElement>
Static

Parameters

$obj

\sso\SsoGroupable

The groupable element

Returns

array<mixed,\sso\SsoGroupElement>Default groups for the element

 Properties

 

$defaults

$defaults : integer

Default

magic
property
 

$id

$id : integer

Default

magic
property
 

$name

$name : string

Default

magic
property
 

$types

$types : integer

Default

magic
property