![]() |
TYPO3
7.6
|
Public Member Functions | |
preProcess (&$pageUid, $backPath, $rootLine, $anchorSection, &$viewScript, $additionalGetVars, $switchFocus) | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
getWorkspaceService () | |
Befunc service
Definition at line 22 of file BackendUtilityHook.php.
|
static |
Gets a singleton instance of this object.
Definition at line 29 of file BackendUtilityHook.php.
References GeneralUtility\makeInstance().
|
protected |
Gets an instance of the workspaces service.
Definition at line 59 of file BackendUtilityHook.php.
References GeneralUtility\makeInstance().
Referenced by BackendUtilityHook\preProcess().
preProcess | ( | & | $pageUid, |
$backPath, | |||
$rootLine, | |||
$anchorSection, | |||
& | $viewScript, | ||
$additionalGetVars, | |||
$switchFocus | |||
) |
Hooks into the ::viewOnClick and redirects to the workspace preview only if we're in a workspace and if the frontend-preview is disabled.
int | $pageUid | |
string | $backPath | |
array | $rootLine | |
string | $anchorSection | |
string | $viewScript | |
string | $additionalGetVars | |
bool | $switchFocus |
Definition at line 47 of file BackendUtilityHook.php.
References $GLOBALS, and BackendUtilityHook\getWorkspaceService().