TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UserToolbarItem Class Reference
Inheritance diagram for UserToolbarItem:
ToolbarItemInterface

Public Member Functions

 __construct ()
 
 checkAccess ()
 
 getAdditionalAttributes ()
 
 hasDropDown ()
 
 getIndex ()
 
- Public Member Functions inherited from ToolbarItemInterface
 getItem ()
 
 getDropDown ()
 

Protected Member Functions

 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

 $iconFactory
 

Detailed Description

User toolbar item

Definition at line 29 of file UserToolbarItem.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 39 of file UserToolbarItem.php.

References GeneralUtility\makeInstance().

Member Function Documentation

checkAccess ( )

Item is always enabled

Returns
bool TRUE

Implements ToolbarItemInterface.

Definition at line 49 of file UserToolbarItem.php.

getAdditionalAttributes ( )

Returns an additional class if user is in "switch user" mode

Returns
array

Implements ToolbarItemInterface.

Definition at line 144 of file UserToolbarItem.php.

References UserToolbarItem\getBackendUser().

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 178 of file UserToolbarItem.php.

References $GLOBALS.

Referenced by UserToolbarItem\getAdditionalAttributes().

getIndex ( )

Position relative to others

Returns
int

Implements ToolbarItemInterface.

Definition at line 168 of file UserToolbarItem.php.

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 188 of file UserToolbarItem.php.

References $GLOBALS.

hasDropDown ( )

This item has a drop down

Returns
bool

Implements ToolbarItemInterface.

Definition at line 158 of file UserToolbarItem.php.

Member Data Documentation

$iconFactory
protected

Definition at line 34 of file UserToolbarItem.php.