Class humhub\modules\directory\widgets\GroupUsers

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

GroupUsers shows users of a group

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$group humhub\modules\user\models\Group humhub\modules\directory\widgets\GroupUsers
$maxUsers integer Maximum number of users to display humhub\modules\directory\widgets\GroupUsers
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$widgetLayout string Defines an optional layout humhub\components\Widget

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\GroupUsers
widget() Creates a widget instance and runs it. humhub\components\Widget

Events

Hide inherited events

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

Property Details

$group public property
$maxUsers public property

Maximum number of users to display

public integer $maxUsers 30

Method Details

run() public method

public void run ( )