Class humhub\modules\activity\widgets\ActivityStreamViewer

Inheritancehumhub\modules\activity\widgets\ActivityStreamViewer » humhub\modules\stream\widgets\StreamViewer » humhub\widgets\JsWidget » humhub\components\Widget » yii\base\Widget
Available since version0.5

ActivityStreamWidget shows an stream/wall of activities inside a sidebar.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$container string Html container element. humhub\widgets\JsWidget
$content string Html content. humhub\widgets\JsWidget
$contentContainer humhub\modules\content\components\ContentContainerActiveRecord The content container if this stream belongs to one (optional) humhub\modules\stream\widgets\StreamViewer
$events [] humhub\widgets\JsWidget
$fadeIn boolean|string|integer humhub\widgets\JsWidget
$filters array List of active filters filters to show this will be set as \humhub\modules\stream\widgets\StreamFilter::definition when rendering the filter navigation humhub\modules\stream\widgets\StreamViewer
$id string humhub\widgets\JsWidget
$init mixed humhub\widgets\JsWidget
$jsWidget string humhub\widgets\JsWidget
$messageStreamEmpty string The message when stream is empty humhub\modules\stream\widgets\StreamViewer
$messageStreamEmptyCss string The CSS Class(es) for message when stream is empty humhub\modules\stream\widgets\StreamViewer
$messageStreamEmptyWithFilters string The message when stream is empty and filters are active humhub\modules\stream\widgets\StreamViewer
$messageStreamEmptyWithFiltersCss string The CSS Class(es) for empty stream error with enabled filters humhub\modules\stream\widgets\StreamViewer
$options humhub\widgets\JsWidget
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$showFilters boolean humhub\modules\stream\widgets\StreamViewer
$streamAction string The path to Stream Action to use humhub\modules\stream\widgets\StreamViewer
$streamActionParams array Additional Params to add to Stream Action URL humhub\modules\stream\widgets\StreamViewer
$streamFilterNavigation string Definition of stream filter navigation widget class humhub\modules\stream\widgets\StreamViewer
$view string Stream view humhub\modules\stream\widgets\StreamViewer
$visible boolean humhub\widgets\JsWidget
$widgetLayout string Defines an optional layout humhub\components\Widget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() humhub\modules\activity\widgets\ActivityStreamViewer
getData() humhub\modules\activity\widgets\ActivityStreamViewer
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
init() humhub\modules\stream\widgets\StreamViewer
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
getAttributes() Returns all html attributes for used by this widget and will normally inserted in the widgets root html element. humhub\widgets\JsWidget
getOptions() Assembles all widget attributes and data settings of this widget. humhub\widgets\JsWidget
getStreamUrl() humhub\modules\activity\widgets\ActivityStreamViewer


Hide inherited events

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

Method Details

__construct() public method

public void __construct ( array $config = [] )
getData() public method

public void getData ( )
getStreamUrl() protected method

protected void getStreamUrl ( )