Class humhub\modules\content\controllers\MoveController

Inheritancehumhub\modules\content\controllers\MoveController » humhub\modules\content\components\ContentContainerController » humhub\components\Controller » yii\web\Controller

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$access string Defines the ControllerAccess class for this controller responsible for managing access rules humhub\components\Controller

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
checkModuleIsEnabled() Checks if the requested module is available in this contentContainer. humhub\modules\content\components\ContentContainerController
forbidden() humhub\components\Controller
getAccessRules() Returns access rules for the standard access control behavior. humhub\components\Controller
prepareResult() humhub\modules\content\controllers\MoveController

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_INIT \yii\base\Event An event raised on init a controller. humhub\components\Controller

Method Details

actionMove() public method

public void actionMove ( $id )
$id
actionSearch() public method

Returns a workspace list by json

It can be filtered by by keyword.

public void actionSearch ( $contentId, $keyword, $page 1 )
$contentId
$keyword
$page
prepareResult() protected method

protected void prepareResult ( $searchResultSet, humhub\modules\content\models\Content $content )
$searchResultSet
$content