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
$workspaceRepository  : WorkspaceRepository
$workspaceService  : WorkspaceService
$workspaceStageRepository  : WorkspaceStageRepository

Methods

__construct()  : mixed
handleRequest()  : ResponseInterface
Renders the review module user dependent with all workspaces.
addEditWorkspaceRecordButton()  : void
addPreviewLink()  : void
addShortcutButton()  : void
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
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, WorkspaceRepository $workspaceRepository, WorkspaceStageRepository $workspaceStageRepository) : mixed
Parameters
$workspaceService : WorkspaceService
$stagesService : StagesService
$iconFactory : IconFactory
$pageRenderer : PageRenderer
$uriBuilder : UriBuilder
$moduleTemplateFactory : ModuleTemplateFactory
$workspacePublishGate : WorkspacePublishGate
$translationConfigurationProvider : TranslationConfigurationProvider
$workspaceRepository : WorkspaceRepository
$workspaceStageRepository : WorkspaceStageRepository

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

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, WorkspaceStage$stages) : array<string|int, mixed>
Parameters
$stages : array<string|int, WorkspaceStage>
Return values
array<string|int, mixed>

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