Class humhub\modules\ui\form\widgets\MarkdownModals

Inheritancehumhub\modules\ui\form\widgets\MarkdownModals » humhub\components\Widget » yii\base\Widget
Available since version1.3

Class MarkdownModals provides modals which are added used by the Markdown widget.

The widget is automatically added to the layout addons.

See also humhub\widgets\LayoutAddons.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$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\ui\form\widgets\MarkdownModals
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

Method Details

run() public method

public void run ( )