SsoGroupElement

package sso\lib\dao

 Methods

Retrieve # element in group for a type

countByType(integer $groupId, integer $type = NULL) : \sso\number
Static

Parameters

$groupId

integer

Group ID

$type

integer

Type self::TYPE_*

Returns

\sso\numberNumber of element of this type in group

Retrieve # elements in each groups

counts() : array<mixed,integer>
Static

Returns

array<mixed,integer>as GroupId => # elements

Retrieve tooltip content for each type / group

getTooltipContents() : array<mixed,mixed>
Static

Returns

array<mixed,mixed>array(type => array(group => array('count' => count, 'tooltip'=>array(name))))

 Properties

 

$group_id

$group_id : integer

Default

magic
property
 

$ref_id

$ref_id : string

Default

magic
property
 

$type

$type : integer

Default

magic
property

 Constants

 

Application type

TYPE_APPLI = 2 
 

Authentication type

TYPE_AUTH = 3 
 

User type

TYPE_USER = 1