TYPO3
7.6
|
Public Member Functions | |
__construct () | |
checkAccess () | |
getItem () | |
getDropDown () | |
getAdditionalAttributes () | |
hasDropDown () | |
getIndex () | |
Protected Member Functions | |
getBackendUser () | |
getPageRenderer () | |
getLanguageService () | |
Protected Attributes | |
$cacheActions = array() | |
$optionValues = array() | |
$iconFactory | |
Render cache clearing toolbar item
Definition at line 28 of file ClearCacheToolbarItem.php.
__construct | ( | ) |
Constructor
\UnexpectedValueException |
Definition at line 50 of file ClearCacheToolbarItem.php.
References $GLOBALS, GeneralUtility\getApplicationContext(), ClearCacheToolbarItem\getBackendUser(), ClearCacheToolbarItem\getLanguageService(), ClearCacheToolbarItem\getPageRenderer(), GeneralUtility\getUserObj(), GeneralUtility\makeInstance(), and Icon\SIZE_SMALL.
checkAccess | ( | ) |
Checks whether the user has access to this toolbar item
Implements ToolbarItemInterface.
Definition at line 115 of file ClearCacheToolbarItem.php.
References ClearCacheToolbarItem\getBackendUser().
getAdditionalAttributes | ( | ) |
No additional attributes needed.
Implements ToolbarItemInterface.
Definition at line 170 of file ClearCacheToolbarItem.php.
|
protected |
Returns the current BE user.
Definition at line 200 of file ClearCacheToolbarItem.php.
References $GLOBALS.
Referenced by ClearCacheToolbarItem\__construct(), and ClearCacheToolbarItem\checkAccess().
getDropDown | ( | ) |
Render drop down
Implements ToolbarItemInterface.
Definition at line 149 of file ClearCacheToolbarItem.php.
getIndex | ( | ) |
Position relative to others
Implements ToolbarItemInterface.
Definition at line 190 of file ClearCacheToolbarItem.php.
getItem | ( | ) |
Render clear cache icon
Implements ToolbarItemInterface.
Definition at line 136 of file ClearCacheToolbarItem.php.
References ClearCacheToolbarItem\getLanguageService(), and Icon\SIZE_SMALL.
|
protected |
Returns LanguageService
Definition at line 220 of file ClearCacheToolbarItem.php.
References $GLOBALS.
Referenced by ClearCacheToolbarItem\__construct(), and ClearCacheToolbarItem\getItem().
|
protected |
Returns current PageRenderer
Definition at line 210 of file ClearCacheToolbarItem.php.
References GeneralUtility\makeInstance().
Referenced by ClearCacheToolbarItem\__construct().
hasDropDown | ( | ) |
This item has a drop down
Implements ToolbarItemInterface.
Definition at line 180 of file ClearCacheToolbarItem.php.
|
protected |
Definition at line 33 of file ClearCacheToolbarItem.php.
|
protected |
Definition at line 43 of file ClearCacheToolbarItem.php.
|
protected |
Definition at line 38 of file ClearCacheToolbarItem.php.