Class humhub\widgets\PoweredBy

Inheritancehumhub\widgets\PoweredBy » humhub\components\Widget » yii\base\Widget
Available since version1.3.7

PoweredBy widget

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$linkOptions array Link tag HTML options humhub\widgets\PoweredBy
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$textOnly boolean Return text link only humhub\widgets\PoweredBy
$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\widgets\PoweredBy
widget() Creates a widget instance and runs it. humhub\components\Widget

Events

Hide inherited events

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

Property Details

$linkOptions public property

Link tag HTML options

public array $linkOptions = []
$textOnly public property

Return text link only

public boolean $textOnly false

Method Details

run() public method

public void run ( )