TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem:
TYPO3\CMS\Backend\Toolbar\ToolbarItemHookInterface Tx_Workspaces_ExtDirect_WorkspaceSelectorToolbarItem

Public Member Functions

 __construct (\TYPO3\CMS\Backend\Controller\BackendController &$backendReference=NULL)
 
 getAdditionalAttributes ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Toolbar\ToolbarItemHookInterface
 checkAccess ()
 
 render ()
 

Protected Member Functions

 addJavascriptToBackend ()
 

Protected Attributes

 $changeWorkspace
 
 $changeWorkspacePreview
 
 $backendReference
 
 $checkAccess = NULL
 

Detailed Description

class to render the workspace selector

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 28 of file WorkspaceSelectorToolbarItem.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ addJavascriptToBackend()

TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem::addJavascriptToBackend ( )
protected

adds the necessary JavaScript to the backend

Returns
void

Definition at line 143 of file WorkspaceSelectorToolbarItem.php.

◆ getAdditionalAttributes()

TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem::getAdditionalAttributes ( )

returns additional attributes for the list item in the toolbar

Returns
string list item HTML attibutes

Implements TYPO3\CMS\Backend\Toolbar\ToolbarItemHookInterface.

Definition at line 152 of file WorkspaceSelectorToolbarItem.php.

Member Data Documentation

◆ $backendReference

TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem::$backendReference
protected

◆ $changeWorkspace

TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem::$changeWorkspace
protected

Definition at line 30 of file WorkspaceSelectorToolbarItem.php.

◆ $changeWorkspacePreview

TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem::$changeWorkspacePreview
protected

Definition at line 32 of file WorkspaceSelectorToolbarItem.php.

◆ $checkAccess

TYPO3\CMS\Workspaces\ExtDirect\WorkspaceSelectorToolbarItem::$checkAccess = NULL
protected

Definition at line 41 of file WorkspaceSelectorToolbarItem.php.