Class humhub\widgets\Pjax

Inheritancehumhub\widgets\Pjax » humhub\components\Widget » yii\base\Widget

Pjax Widget

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$clientOptions array Options passed to pjax scrpit humhub\widgets\Pjax
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$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
init() humhub\widgets\Pjax
isActive() humhub\widgets\Pjax
process() Process is a wrapper for the run method humhub\components\Widget
run() humhub\widgets\Pjax
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

$clientOptions public property

Options passed to pjax scrpit

public array $clientOptions = []

Method Details

init() public method

public void init ( )
isActive() public static method

public static void isActive ( )
run() public method

public void run ( )