HelpController
Main "CSH help" module controller
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Constants
- FULL = 0
- Section identifiers
- TOC_ONLY = 1
- Show only Table of contents
- ALLOWED_ACTIONS = ['index', 'all', 'detail']
Properties
- $iconFactory : IconFactory
- $moduleTemplate : ModuleTemplate
- $moduleTemplateFactory : ModuleTemplateFactory
- $tableManualRepository : TableManualRepository
- $typo3Information : Typo3Information
- $uriBuilder : UriBuilder
- $view : ViewInterface
Methods
- __construct() : mixed
- allAction() : mixed
- Show the table of contents and all manuals
- detailAction() : mixed
- Show a single manual
- handleDetailPopup() : ResponseInterface
- handleRequest() : ResponseInterface
- Injects the request object for the current request, and renders correct action
- indexAction() : mixed
- Show table of contents
- getBackendUser() : BackendUserAuthentication
- Returns the currently logged in BE user
- getLanguageService() : LanguageService
- Returns the LanguageService
- getManuals() : array<string|int, mixed>
- getShortcutTitle() : string
- Returns the shortcut title for the current page
- initializeView() : mixed
- registerDocHeaderButtons() : mixed
- Registers the Icons into the docheader
Constants
FULL
Section identifiers
public
mixed
FULL
= 0
TOC_ONLY
Show only Table of contents
public
mixed
TOC_ONLY
= 1
ALLOWED_ACTIONS
protected
mixed
ALLOWED_ACTIONS
= ['index', 'all', 'detail']
Properties
$iconFactory
protected
IconFactory
$iconFactory
$moduleTemplate
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$tableManualRepository
protected
TableManualRepository
$tableManualRepository
$typo3Information
protected
Typo3Information
$typo3Information
$uriBuilder
protected
UriBuilder
$uriBuilder
$view
protected
ViewInterface
$view
Methods
__construct()
public
__construct(Typo3Information $typo3Information, TableManualRepository $tableManualRepository, IconFactory $iconFactory, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $typo3Information : Typo3Information
- $tableManualRepository : TableManualRepository
- $iconFactory : IconFactory
- $uriBuilder : UriBuilder
- $moduleTemplateFactory : ModuleTemplateFactory
allAction()
Show the table of contents and all manuals
public
allAction() : mixed
detailAction()
Show a single manual
public
detailAction(ServerRequestInterface $request) : mixed
Parameters
- $request : ServerRequestInterface
handleDetailPopup()
public
handleDetailPopup(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacehandleRequest()
Injects the request object for the current request, and renders correct action
public
handleRequest(ServerRequestInterface $request[, bool $addBackButton = true ]) : ResponseInterface
Parameters
- $request : ServerRequestInterface
-
the current request
- $addBackButton : bool = true
Return values
ResponseInterface —the response with the content
indexAction()
Show table of contents
public
indexAction() : mixed
getBackendUser()
Returns the currently logged in BE user
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
Returns the LanguageService
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetManuals()
protected
getManuals(ServerRequestInterface $request) : array<string|int, mixed>
Parameters
- $request : ServerRequestInterface
Return values
array<string|int, mixed>getShortcutTitle()
Returns the shortcut title for the current page
protected
getShortcutTitle(ServerRequestInterface $request) : string
Parameters
- $request : ServerRequestInterface
Return values
stringinitializeView()
protected
initializeView(string $templateName) : mixed
Parameters
- $templateName : string
registerDocHeaderButtons()
Registers the Icons into the docheader
protected
registerDocHeaderButtons(ServerRequestInterface $request[, bool $addBackButton = true ]) : mixed
Parameters
- $request : ServerRequestInterface
- $addBackButton : bool = true