![]() |
TYPO3
7.6
|
Public Member Functions | |
checkAccess () | |
getItem () | |
getDropDown () | |
getAdditionalAttributes () | |
hasDropDown () | |
getIndex () | |
Protected Member Functions | |
getBackendUser () | |
getPageRenderer () | |
getLanguageService () | |
Protected Attributes | |
$availableWorkspaces | |
$iconFactory | |
Class to render the workspace selector
Definition at line 27 of file WorkspaceSelectorToolbarItem.php.
checkAccess | ( | ) |
Checks whether the user has access to this toolbar item
Implements ToolbarItemInterface.
Definition at line 59 of file WorkspaceSelectorToolbarItem.php.
getAdditionalAttributes | ( | ) |
This toolbar needs no additional attributes
Implements ToolbarItemInterface.
Definition at line 138 of file WorkspaceSelectorToolbarItem.php.
|
protected |
Returns the current BE user.
Definition at line 168 of file WorkspaceSelectorToolbarItem.php.
References $GLOBALS.
Referenced by WorkspaceSelectorToolbarItem\getDropDown().
getDropDown | ( | ) |
Get drop down
Implements ToolbarItemInterface.
Definition at line 84 of file WorkspaceSelectorToolbarItem.php.
References WorkspaceSelectorToolbarItem\getBackendUser(), WorkspaceSelectorToolbarItem\getLanguageService(), and Icon\SIZE_SMALL.
getIndex | ( | ) |
Position relative to others
Implements ToolbarItemInterface.
Definition at line 158 of file WorkspaceSelectorToolbarItem.php.
getItem | ( | ) |
Render item
Implements ToolbarItemInterface.
Definition at line 69 of file WorkspaceSelectorToolbarItem.php.
References WorkspaceSelectorToolbarItem\getLanguageService(), and Icon\SIZE_SMALL.
|
protected |
Returns LanguageService
Definition at line 188 of file WorkspaceSelectorToolbarItem.php.
References $GLOBALS.
Referenced by WorkspaceSelectorToolbarItem\getDropDown(), and WorkspaceSelectorToolbarItem\getItem().
|
protected |
Returns current PageRenderer
Definition at line 178 of file WorkspaceSelectorToolbarItem.php.
References GeneralUtility\makeInstance().
hasDropDown | ( | ) |
This item has a drop down
Implements ToolbarItemInterface.
Definition at line 148 of file WorkspaceSelectorToolbarItem.php.
|
protected |
Definition at line 32 of file WorkspaceSelectorToolbarItem.php.
|
protected |
Definition at line 37 of file WorkspaceSelectorToolbarItem.php.