Class humhub\modules\post\widgets\WallEntry

Inheritancehumhub\modules\post\widgets\WallEntry » humhub\modules\content\widgets\WallEntry » humhub\components\Widget » yii\base\Widget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getContextMenu() Returns an array of context menu items either in form of a single array: humhub\modules\content\widgets\WallEntry
getEditUrl() Returns the edit url to edit the content (if supported) humhub\modules\content\widgets\WallEntry
getWallEntryViewParams() Returns the view paramters for the wall entry layout humhub\modules\content\widgets\WallEntry
process() Process is a wrapper for the run method humhub\components\Widget
renderWallEntry() Renders the wall entry output humhub\modules\content\widgets\WallEntry
run() humhub\modules\post\widgets\WallEntry
widget() Creates a widget instance and runs it. humhub\modules\content\widgets\WallEntry

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
addControl() humhub\modules\content\widgets\WallEntry

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
EDIT_MODE_INLINE 'inline' Edit form is loaded to the wallentry itself. humhub\modules\content\widgets\WallEntry
EDIT_MODE_MODAL 'modal' Edit form is loaded into a modal. humhub\modules\content\widgets\WallEntry
EDIT_MODE_NEW_WINDOW 'new_window' Opens the edit page in a new window. humhub\modules\content\widgets\WallEntry

Property Details

$editRoute public property
public string $editRoute '/post/post/edit'

Method Details

run() public method

public void run ( )