Class humhub\modules\ui\widgets\CounterSet
Inheritance | humhub\modules\ui\widgets\CounterSet » humhub\components\Widget » yii\base\Widget |
---|---|
Subclasses | humhub\modules\space\widgets\HeaderCounterSet, humhub\modules\user\widgets\ProfileHeaderCounterSet |
Available since version | 1.3 |
Class CounterSet
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$counters | humhub\modules\ui\widgets\CounterSetItem[] | humhub\modules\ui\widgets\CounterSet | |
$render | boolean | If set to false this widget won't be rendered | humhub\components\Widget |
$template | string | The template to use | humhub\modules\ui\widgets\CounterSet |
$widgetLayout | string | Defines an optional layout | humhub\components\Widget |
Public Methods
Method | Description | Defined 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\ui\widgets\CounterSet | |
widget() | Creates a widget instance and runs it. | humhub\components\Widget |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_CREATE | humhub\libs\WidgetCreateEvent | An event raised before creating a widget. | humhub\components\Widget |
Property Details
The template to use