Class humhub\modules\space\widgets\SpaceChooserItem

Inheritancehumhub\modules\space\widgets\SpaceChooserItem » humhub\components\Widget » yii\base\Widget

Used to render a single space chooser result.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getBadge() humhub\modules\space\widgets\SpaceChooserItem
getDataAttribute() humhub\modules\space\widgets\SpaceChooserItem
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\modules\space\widgets\SpaceChooserItem
widget() Creates a widget instance and runs it. humhub\components\Widget


Hide inherited events

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

Property Details

$isFollowing public property
public boolean $isFollowing false
$isMember public property
public string $isMember false
$space public property
public string $space null
$updateCount public property
public integer $updateCount 0
$visible public property
public boolean $visible true

Method Details

getBadge() public method

public void getBadge ( )
getDataAttribute() public method

public void getDataAttribute ( )
run() public method

public void run ( )