Class humhub\modules\directory\widgets\UserGroupList

Inheritancehumhub\modules\directory\widgets\UserGroupList » humhub\components\Widget » yii\base\Widget
Available since version1.2

UserGroupList displays a comma separated list of user groups

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getLayoutViewParams() Returns an array of view parameter used if \humhub\components\layout is set. humhub\components\Widget
process() Process is a wrapper for the run method humhub\components\Widget
run() humhub\modules\directory\widgets\UserGroupList
widget() Creates a widget instance and runs it. humhub\components\Widget


Hide inherited events

EventTypeDescriptionDefined By
EVENT_CREATE humhub\libs\WidgetCreateEvent An event raised before creating a widget. humhub\components\Widget

Property Details

$htmlOptions public property

The HTML Options fo the base Tag

public array $htmlOptions = []
$tagName public property

Tag name for base HTML tag

public string $tagName 'small'
$user public property

Method Details

run() public method

public void run ( )