TYPO3  7.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
BackendUtilityHook Class Reference
Inheritance diagram for BackendUtilityHook:
SingletonInterface

Public Member Functions

 preProcess (&$pageUid, $backPath, $rootLine, $anchorSection, &$viewScript, $additionalGetVars, $switchFocus)
 

Static Public Member Functions

static getInstance ()
 

Protected Member Functions

 getWorkspaceService ()
 

Detailed Description

Befunc service

Definition at line 22 of file BackendUtilityHook.php.

Member Function Documentation

static getInstance ( )
static

Gets a singleton instance of this object.

Returns

Definition at line 29 of file BackendUtilityHook.php.

References GeneralUtility\makeInstance().

getWorkspaceService ( )
protected

Gets an instance of the workspaces service.

Returns

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.

Parameters
int$pageUid
string$backPath
array$rootLine
string$anchorSection
string$viewScript
string$additionalGetVars
bool$switchFocus
Returns
void

Definition at line 47 of file BackendUtilityHook.php.

References $GLOBALS, and BackendUtilityHook\getWorkspaceService().