Class humhub\widgets\RichTextEditor

Inheritancehumhub\widgets\RichTextEditor » humhub\components\Widget » yii\base\Widget
Available since version0.5
Deprecated since version since 1.2

HEditorWidget add users to posts and comments

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$id string humhub\widgets\RichTextEditor
$inputContent string Preset content humhub\widgets\RichTextEditor
$record humhub\components\ActiveRecord Record record this editor belongs to humhub\widgets\RichTextEditor
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$searchUrl JSON Search URL humhub\widgets\RichTextEditor
$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() Inits the widget humhub\widgets\RichTextEditor
process() Process is a wrapper for the run method humhub\components\Widget
run() humhub\widgets\RichTextEditor
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

$id public property
public string $id ""
$inputContent public property

Preset content

public string $inputContent ""
$record public property

Record record this editor belongs to

$searchUrl public property
public $searchUrl "/user/search/mentioning"

Method Details

init() public method

Inits the widget

public void init ( )
run() public method

public void run ( )