ReviewController

Internal

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

Methods

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
ResponseInterface

Determine whether this page for the current

protected canCreatePreviewLink(int $pageUid, int $workspaceUid) : bool
Parameters
$pageUid : int
$workspaceUid : int
Return values
bool

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 -20 (publish).

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

getDepthSelection()

protected getDepthSelection() : int
Return values
int

getLanguageSelection()

Gets the selected language.

protected getLanguageSelection() : string
Return values
string

getModuleUri()

Gets the module URI.

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

getStageActions()

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
int

getSystemLanguages()

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
Return values
array<string|int, mixed>

        
On this page

Search results