Class humhub\modules\file\widgets\ShowFiles
Inheritance | humhub\modules\file\widgets\ShowFiles » yii\base\Widget |
---|---|
Available since version | 0.5 |
This widget is used include the files functionality to a wall entry.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$active | boolean | If set to false this widget won't be rendered | humhub\modules\file\widgets\ShowFiles |
$object | humhub\components\ActiveRecord | Object to show files from | humhub\modules\file\widgets\ShowFiles |
$preview | boolean | If set to false this widget won't render file previews as images/videos/audio | humhub\modules\file\widgets\ShowFiles |
Public Methods
Method | Description | Defined By |
---|---|---|
run() | Executes the widget. | humhub\modules\file\widgets\ShowFiles |
Property Details
If set to false this widget won't be rendered
Object to show files from
If set to false this widget won't render file previews as images/videos/audio