Class humhub\modules\topic\widgets\TopicLabel

Inheritancehumhub\modules\topic\widgets\TopicLabel » humhub\widgets\Label » humhub\widgets\BootstrapComponent » humhub\components\Widget » yii\base\Widget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__toString() humhub\widgets\BootstrapComponent
action() Adds a data-action-click handler to the button. humhub\widgets\Label
asColor() humhub\widgets\BootstrapComponent
color() humhub\widgets\BootstrapComponent
cssClass() humhub\widgets\BootstrapComponent
danger() humhub\widgets\BootstrapComponent
defaultType() humhub\widgets\BootstrapComponent
forTopic() humhub\modules\topic\widgets\TopicLabel
getComponentBaseClass() humhub\widgets\Label
getTypedClass() humhub\widgets\Label
getWidgetOptions() humhub\widgets\Label
icon() humhub\widgets\BootstrapComponent
id() humhub\widgets\BootstrapComponent
info() humhub\widgets\BootstrapComponent
instance() humhub\widgets\BootstrapComponent
left() humhub\widgets\BootstrapComponent
lg() humhub\widgets\BootstrapComponent
none() humhub\widgets\BootstrapComponent
options() humhub\widgets\BootstrapComponent
primary() humhub\widgets\BootstrapComponent
process() Process is a wrapper for the run method humhub\components\Widget
renderComponent() humhub\widgets\Label
right() humhub\widgets\BootstrapComponent
run() humhub\widgets\BootstrapComponent
setText() humhub\widgets\BootstrapComponent
setType() humhub\widgets\BootstrapComponent
sm() humhub\widgets\BootstrapComponent
sort() humhub\widgets\Label
sortOrder() humhub\widgets\Label
style() humhub\widgets\BootstrapComponent
success() humhub\widgets\BootstrapComponent
textColor() humhub\widgets\BootstrapComponent
title() Adds an html title attribute humhub\widgets\BootstrapComponent
tooltip() Adds an title + tooltip behaviour class humhub\widgets\BootstrapComponent
visible() humhub\widgets\BootstrapComponent
warning() humhub\widgets\BootstrapComponent
widget() Creates a widget instance and runs it. humhub\components\Widget
withLink() humhub\widgets\Label
xs() humhub\widgets\BootstrapComponent

Events

Hide inherited events

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

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
TYPE_DANGER 'danger' humhub\widgets\BootstrapComponent
TYPE_DEFAULT 'default' humhub\widgets\BootstrapComponent
TYPE_INFO 'info' humhub\widgets\BootstrapComponent
TYPE_NONE 'none' humhub\widgets\BootstrapComponent
TYPE_PRIMARY 'primary' humhub\widgets\BootstrapComponent
TYPE_SUCCESS 'success' humhub\widgets\BootstrapComponent
TYPE_WARNING 'warning' humhub\widgets\BootstrapComponent

Method Details

forTopic() public static method

public static $this forTopic ( humhub\modules\topic\models\Topic $topic )
$topic humhub\modules\topic\models\Topic