ReviewController

class \TYPO3\CMS\Workspaces\Controller\ReviewController

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
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
Get list of available mass workspace actions.
getStageSelection()  : int
getSystemLanguages()  : array
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
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 $workspaceList) : bool

Parameters

$workspaceList : array

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

Return values

array

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

Return values

array

getStageSelection()

protected getStageSelection() : int

Return values

int

getSystemLanguages()

Gets all available system languages.

protected getSystemLanguages(int $pageId) : array

Parameters

$pageId : int

Return values

array

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 $availableWorkspaces) : void

Parameters

$availableWorkspaces : array

array with the available actions

prepareWorkspaceTabs()

Prepares available workspace tabs.

protected prepareWorkspaceTabs(array $workspaceList, int $activeWorkspace) : array

Parameters

$workspaceList : array
$activeWorkspace : int

Return values

array
On this page