ReviewController
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $iconFactory : IconFactory
- $moduleTemplate : ModuleTemplate
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageId : int
- $pageRenderer : PageRenderer
- $stagesService : StagesService
- $uriBuilder : UriBuilder
- $view : StandaloneView
- $workspaceService : WorkspaceService
Methods
- __construct() : mixed
- indexAction() : ResponseInterface
- Renders the review module user dependent with all workspaces.
- canCreatePreviewLink() : bool
- Determine whether this page for the current
- customWorkspaceExists() : bool
- Returns true if at least one custom workspace next to live workspace exists.
- getAvailableSelectStages() : array<string|int, mixed>
- Get stages to be used in the review filter. This basically adds -99 (all stages) and removes -20 (publish).
- getBackendUser() : BackendUserAuthentication
- getDepthSelection() : int
- getLanguageSelection() : string
- Gets the selected language.
- getLanguageService() : LanguageService
- getModuleUri() : string
- Gets the module URI.
- getStageActions() : array<string|int, mixed>
- Get list of available mass workspace actions.
- getStageSelection() : int
- getSystemLanguages() : array<string|int, mixed>
- Gets all available system languages.
- initializeAction() : mixed
- Initializes the controller before invoking an action method.
- makeActionMenu() : void
- This creates the dropdown menu with the different actions this module is able to provide.
- prepareWorkspaceTabs() : array<string|int, mixed>
- Prepares available workspace tabs.
Properties
$iconFactory
protected
IconFactory
$iconFactory
$moduleTemplate
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageId
protected
int
$pageId
$pageRenderer
protected
PageRenderer
$pageRenderer
$stagesService
protected
StagesService
$stagesService
$uriBuilder
protected
UriBuilder
$uriBuilder
$view
protected
StandaloneView
$view
$workspaceService
protected
WorkspaceService
$workspaceService
Methods
__construct()
public
__construct(WorkspaceService $workspaceService, StagesService $stagesService, IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $workspaceService : WorkspaceService
- $stagesService : StagesService
- $iconFactory : IconFactory
- $pageRenderer : PageRenderer
- $uriBuilder : UriBuilder
- $moduleTemplateFactory : ModuleTemplateFactory
indexAction()
Renders the review module user dependent with all workspaces.
public
indexAction(ServerRequestInterface $request) : ResponseInterface
The module will show all records of one workspace.
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacecanCreatePreviewLink()
Determine whether this page for the current
protected
canCreatePreviewLink(int $pageUid, int $workspaceUid) : bool
Parameters
- $pageUid : int
- $workspaceUid : int
Return values
boolcustomWorkspaceExists()
Returns true if at least one custom workspace next to live workspace exists.
protected
customWorkspaceExists(array<string|int, mixed> $workspaceList) : bool
Parameters
- $workspaceList : array<string|int, mixed>
Return values
boolgetAvailableSelectStages()
Get stages to be used in the review filter. This basically adds -99 (all stages) and removes -20 (publish).
protected
getAvailableSelectStages() : array<string|int, mixed>
Return values
array<string|int, mixed>getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetDepthSelection()
protected
getDepthSelection() : int
Return values
intgetLanguageSelection()
Gets the selected language.
protected
getLanguageSelection() : string
Return values
stringgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetModuleUri()
Gets the module URI.
protected
getModuleUri([int $workspaceId = null ]) : string
Parameters
- $workspaceId : int = null
Return values
stringgetStageActions()
Get list of available mass workspace actions.
protected
getStageActions() : array<string|int, mixed>
Return values
array<string|int, mixed>getStageSelection()
protected
getStageSelection() : int
Return values
intgetSystemLanguages()
Gets all available system languages.
protected
getSystemLanguages(int $pageId) : array<string|int, mixed>
Parameters
- $pageId : int
Return values
array<string|int, mixed>initializeAction()
Initializes the controller before invoking an action method.
protected
initializeAction() : mixed
makeActionMenu()
This creates the dropdown menu with the different actions this module is able to provide.
protected
makeActionMenu(array<string|int, mixed> $availableWorkspaces) : void
Parameters
- $availableWorkspaces : array<string|int, mixed>
-
array with the available actions
prepareWorkspaceTabs()
Prepares available workspace tabs.
protected
prepareWorkspaceTabs(array<string|int, mixed> $workspaceList, int $activeWorkspace) : array<string|int, mixed>
Parameters
- $workspaceList : array<string|int, mixed>
- $activeWorkspace : int