Class humhub\modules\file\widgets\UploadProgress

Inheritancehumhub\modules\file\widgets\UploadProgress » humhub\widgets\JsWidget » humhub\components\Widget » yii\base\Widget
Available since version1.2

UploadButtonWidget renders an upload button with integrated file input.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getAttributes() humhub\modules\file\widgets\UploadProgress
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
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() Default implementation of JsWidget. humhub\widgets\JsWidget
setDefaultOptions() Sets some default data options required by all widgets as the widget implementation and the widget events and initialization trigger. humhub\widgets\JsWidget
widget() Creates a widget instance and runs it. humhub\components\Widget

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getData() Returns an array of data-* attributes to configure your clientside js widget. humhub\widgets\JsWidget
getOptions() Assembles all widget attributes and data settings of this widget. humhub\widgets\JsWidget

Events

Hide inherited events

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

Property Details

$jsWidget public property
public $jsWidget "ui.progress.Progress"
$visible public property
public $visible false

Method Details

getAttributes() public method

public void getAttributes ( )