Class humhub\modules\content\widgets\ContentTagDropDown

Inheritancehumhub\modules\content\widgets\ContentTagDropDown » humhub\modules\ui\form\widgets\JsInputWidget » humhub\widgets\JsWidget » humhub\components\Widget » yii\base\Widget
Subclasseshumhub\widgets\ContentTagDropDown

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$attribute string The model attribute that this widget is associated with. humhub\modules\ui\form\widgets\JsInputWidget
$container string Html container element. humhub\widgets\JsWidget
$content string Html content. humhub\widgets\JsWidget
$contentContainer humhub\modules\content\widgets\ContentTagDropDown
$events [] humhub\widgets\JsWidget
$fadeIn boolean|string|integer humhub\widgets\JsWidget
$form \yii\widgets\ActiveForm humhub\modules\ui\form\widgets\JsInputWidget
$id string humhub\widgets\JsWidget
$includeGlobal humhub\modules\content\widgets\ContentTagDropDown
$init mixed humhub\widgets\JsWidget
$items humhub\modules\content\widgets\ContentTagDropDown
$jsWidget string humhub\widgets\JsWidget
$model \yii\base\Model The data model that this widget is associated with. humhub\modules\ui\form\widgets\JsInputWidget
$name string The input name. humhub\modules\ui\form\widgets\JsInputWidget
$options array The HTML attributes for the input tag. humhub\modules\ui\form\widgets\JsInputWidget
$prompt humhub\modules\content\widgets\ContentTagDropDown
$promptValue humhub\modules\content\widgets\ContentTagDropDown
$query humhub\modules\content\widgets\ContentTagDropDown
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$tagClass string TagClass humhub\modules\content\widgets\ContentTagDropDown
$type humhub\modules\content\widgets\ContentTagDropDown
$value string The input value. humhub\modules\ui\form\widgets\JsInputWidget
$visible boolean humhub\widgets\JsWidget
$widgetLayout string Defines an optional layout humhub\components\Widget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
beforeRun() Initializes the widget. humhub\modules\ui\form\widgets\JsInputWidget
getAttributes() humhub\modules\content\widgets\ContentTagDropDown
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
getItems() humhub\modules\content\widgets\ContentTagDropDown
getLayoutViewParams() Returns an array of view parameter used if \humhub\components\layout is set. humhub\components\Widget
int() humhub\modules\content\widgets\ContentTagDropDown
process() Process is a wrapper for the run method humhub\components\Widget
run() humhub\modules\content\widgets\ContentTagDropDown
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
getData() Returns an array of data-* attributes to configure your clientside js widget. humhub\widgets\JsWidget
getOptions() Assembles all widget attributes and data settings of this widget. humhub\widgets\JsWidget
getValue() humhub\modules\ui\form\widgets\JsInputWidget
hasModel() humhub\modules\ui\form\widgets\JsInputWidget

Events

Hide inherited events

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

Property Details

$contentContainer public property
public $contentContainer null
$includeGlobal public property
public $includeGlobal false
$items public property
public $items null
$prompt public property
public $prompt false
$promptValue public property
public $promptValue 0
$query public property
public $query null
$tagClass public property

TagClass

public string $tagClass null
$type public property
public $type true

Method Details

getAttributes() public method

public void getAttributes ( )
getItems() public method

public void getItems ( )
int() public method

public void int ( )
run() public method

public void run ( )