Class humhub\modules\marketplace\controllers\UpdateController

Inheritancehumhub\modules\marketplace\controllers\UpdateController » humhub\modules\admin\components\Controller » humhub\components\Controller » yii\web\Controller

Class UpdateController

Protected Properties

Hide inherited properties

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

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionInstall() Updates a module with the most recent version online humhub\modules\marketplace\controllers\UpdateController
actionList() Lists all available module updates humhub\modules\marketplace\controllers\UpdateController
appendPageTitle() Append a page title. humhub\components\Controller
beforeAction() humhub\components\Controller
behaviors() humhub\modules\admin\components\Controller
forcePostRequest() Throws HttpException in case the request is not an post request, otherwise returns true. humhub\components\Controller
getAccess() humhub\components\Controller
getAccessRules() Returns access rules for the standard access control behavior humhub\modules\marketplace\controllers\UpdateController
htmlRedirect() Create Redirect for AJAX Requests which output goes into HTML content. humhub\components\Controller
init() humhub\modules\admin\components\Controller
prependPageTitle() Prepend a page title. humhub\components\Controller
redirect() humhub\components\Controller
renderAjaxContent() humhub\components\Controller
renderContent() Renders a static string by applying the layouts (sublayout + layout. humhub\components\Controller
renderModalClose() Closes a modal humhub\components\Controller
setActionTitles() Set a map that indicates what page title should be shown for the currently active action. humhub\components\Controller
setJsViewStatus() Sets some ui state as current controller/module and active topmenu. humhub\components\Controller
setPageTitle() Set the page title. humhub\components\Controller

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
forbidden() humhub\components\Controller


Hide inherited events

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

Property Details

$defaultAction public property
public string $defaultAction 'list'
$subLayout public property
public string $subLayout '@admin/views/layouts/module'

Method Details

actionInstall() public method

Updates a module with the most recent version online

public void actionInstall ( )
throws \yii\web\HttpException
actionList() public method

Lists all available module updates

public void actionList ( )
getAccessRules() public method

Returns access rules for the standard access control behavior

public array getAccessRules ( )
return array

The access permissions