Class humhub\widgets\BaseSidebarItem

Inheritancehumhub\widgets\BaseSidebarItem » humhub\components\Widget » yii\base\Widget
Available since version1.1.1

BaseSidebarItem

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$layout string The default layout for a sidebar item humhub\widgets\BaseSidebarItem
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$title string The title of the sidebar item humhub\widgets\BaseSidebarItem

Public Methods

Hide inherited methods

MethodDescriptionDefined By
process() Process is a wrapper for the run method humhub\widgets\BaseSidebarItem
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

$layout public property

The default layout for a sidebar item

public string $layout '@humhub/widgets/views/baseSidebarItem'
$title public property

The title of the sidebar item

public string $title ''

Method Details

process() public method

Process is a wrapper for the run method

public void process ( )