ReviewController

Internal

This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.

Attributes
#[AsController]

Table of Contents

Properties

$iconFactory  : IconFactory
$moduleTemplateFactory  : ModuleTemplateFactory
$pageRenderer  : PageRenderer
$stagesService  : StagesService
$translationConfigurationProvider  : TranslationConfigurationProvider
$uriBuilder  : UriBuilder
$workspacePublishGate  : WorkspacePublishGate
$workspaceService  : WorkspaceService

Methods

__construct()  : mixed
handleRequest()  : ResponseInterface
Renders the review module user dependent with all workspaces.
addEditWorkspaceRecordButton()  : void
addPreviewLink()  : void
addShortcutButton()  : void
addWorkspaceSelector()  : void
Create the workspace selection drop-down menu.
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 the publishing stage (-20).
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getModuleUri()  : string
getStageActions()  : array<string|int, mixed>
Get list of available mass workspace actions.
getSystemLanguages()  : array<string|int, mixed>
Gets all available system languages.

Properties

Methods

__construct()

public __construct(WorkspaceService $workspaceService, StagesService $stagesService, IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory, WorkspacePublishGate $workspacePublishGate, TranslationConfigurationProvider $translationConfigurationProvider) : mixed
Parameters
$workspaceService : WorkspaceService
$stagesService : StagesService
$iconFactory : IconFactory
$pageRenderer : PageRenderer
$uriBuilder : UriBuilder
$moduleTemplateFactory : ModuleTemplateFactory
$workspacePublishGate : WorkspacePublishGate
$translationConfigurationProvider : TranslationConfigurationProvider

handleRequest()

Renders the review module user dependent with all workspaces.

public handleRequest(ServerRequestInterface $request) : ResponseInterface

The module will show all records of one workspace.

Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

addEditWorkspaceRecordButton()

protected addEditWorkspaceRecordButton(ModuleTemplate $view, int $pageUid, int $activeWorkspace) : void
Parameters
$view : ModuleTemplate
$pageUid : int
$activeWorkspace : int

addShortcutButton()

protected addShortcutButton(ModuleTemplate $view, string $activeWorkspaceTitle, string $pageTitle, int $pageId) : void
Parameters
$view : ModuleTemplate
$activeWorkspaceTitle : string
$pageTitle : string
$pageId : int

addWorkspaceSelector()

Create the workspace selection drop-down menu.

protected addWorkspaceSelector(ModuleTemplate $view, array<string|int, mixed> $availableWorkspaces, int $activeWorkspace, int $pageUid) : void
Parameters
$view : ModuleTemplate
$availableWorkspaces : array<string|int, mixed>
$activeWorkspace : int
$pageUid : int

customWorkspaceExists()

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
bool

getAvailableSelectStages()

Get stages to be used in the review filter. This basically adds -99 (all stages) and removes the publishing stage (-20).

protected getAvailableSelectStages() : array<string|int, mixed>
Return values
array<string|int, mixed>

getModuleUri()

protected getModuleUri(int $pageUid[, int|null $workspaceId = null ]) : string
Parameters
$pageUid : int
$workspaceId : int|null = null
Return values
string

getStageActions()

Get list of available mass workspace actions.

protected getStageActions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSystemLanguages()

Gets all available system languages.

protected getSystemLanguages(int $pageId, string $selectedLanguage) : array<string|int, mixed>
Parameters
$pageId : int
$selectedLanguage : string
Return values
array<string|int, mixed>

        
On this page

Search results