Class humhub\widgets\ModalDialog

Inheritancehumhub\widgets\ModalDialog » humhub\widgets\Modal » humhub\widgets\JsWidget » humhub\components\Widget » yii\base\Widget

Used for rendering a modal header

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getAttributes() humhub\widgets\ModalDialog
getData() humhub\widgets\ModalDialog
getId() Returns the html id of this widget, if no id is set this function will generate an id if $autoGenerate is set to true (default). humhub\widgets\JsWidget
init() humhub\widgets\ModalDialog
process() Process is a wrapper for the run method humhub\components\Widget
run() humhub\widgets\ModalDialog
setDefaultOptions() Sets some default data options required by all widgets as the widget implementation and the widget evetns and initialization trigger. humhub\widgets\JsWidget
widget() Creates a widget instance and runs it. humhub\components\Widget

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getOptions() Assembles all widget attributes and data settings of this widget. humhub\widgets\JsWidget


Hide inherited events

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

Property Details

$closable public property
public $closable false
$dialogContent public property
public $dialogContent null

Method Details

getAttributes() public method

public void getAttributes ( )
getData() public method

public void getData ( )
init() public method

public void init ( )
run() public method

public void run ( )