Class GXModuleCenterModuleController

Class GXModuleCenterModuleController

HttpViewController implements HttpViewControllerInterface
AdminHttpViewController implements AdminStatusOnlyInterface
AbstractModuleCenterModuleController
GXModuleCenterModuleController
Package: Modules\Controllers
Category: System
Extends: AbstractModuleCenterModuleController
Located at Controllers/HttpView/ModuleCenter/GXModuleCenterModuleController.inc.php

Methods summary

protected _init( void )

Initialize the module e.g. set title, description, sort order etc.

public actionDefault( void ) : HttpControllerResponse

Returns an AdminPageHttpControllerResponse with configuration options or returns a RedirectHttpControllerResponse with specified redirect url.

protected _getAssets( void ) : AssetCollection|boolean
public actionSaveConfiguration( void ) : RedirectHttpControllerResponse

Saves the configuration.

protected _getGXModuleJSONConfiguration( $name ) : array|boolean

Get the json configuration from GXModule.json file

protected initConfiguration( $module )

Loads the configuration from db for specific module

protected process_uploads( $data )

Processing the uploaded files

protected getText( $sectionPhraseSelector ) : string

Returns the translated text for the given section phrase selector (i.e. "buttons.ok" results in "Ok")

Methods inherited from AbstractModuleCenterModuleController

__construct()

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

_callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _getServerData(), _render(), _validatePageToken(), getTemplateFile(), proceed()

Properties summary

protected $modules : array

Holds json data for all modules

[]
protected $configurationStorage : GXModuleConfigurationStorage

Configuration storage.


		
protected $userConfigurationService : object

UserConfiguration $userConfigurationService


		

Properties inherited from AbstractModuleCenterModuleController

$buttons, $languageTextManager, $pageTitle, $redirectUrl

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray, $serverDataArray