TYPO3
7.6
|
Public Member Functions | |
generate () | |
Public Member Functions inherited from AbstractSpriteHandler | |
__construct () | |
generate () | |
getAvailableIconNames () | |
Protected Member Functions | |
buildCssAndRegisterIcons () | |
Protected Member Functions inherited from AbstractSpriteHandler | |
loadRegisteredSprites () | |
collectTcaSpriteIcons () | |
Protected Attributes | |
$styleSheetTemplateExtIcons | |
Protected Attributes inherited from AbstractSpriteHandler | |
$iconNames = array() | |
$styleSheetData = '' | |
$cssTcaFile = '' | |
A class with an concrete implementation of AbspractSpriteHandler. It is the standard / fallback handler of the sprite manager. This implementation won't generate sprites at all. It will just render css-definitions for all registered icons so that they may be used through ::getSpriteIcon* Without the css classes generated here, icons of for example tca records would be empty.
Definition at line 26 of file SimpleSpriteHandler.php.
|
protected |
This function builds an css class for every single icon registered via ::addSingleIcons to use them via ::getSpriteIcon and TCA-Icons for "classic" record Icons to be uses via ::getSpriteIconForRecord In the simpleHandler the icon just will be added as css-background-image.
Definition at line 64 of file SimpleSpriteHandler.php.
References $GLOBALS, AbstractSpriteHandler\collectTcaSpriteIcons(), and GeneralUtility\resolveBackPath().
Referenced by SimpleSpriteHandler\generate().
generate | ( | ) |
Interface function. This will be called from the sprite manager to refresh all caches.
Implements SpriteIconGeneratorInterface.
Definition at line 47 of file SimpleSpriteHandler.php.
References SimpleSpriteHandler\buildCssAndRegisterIcons().
|
protected |
Definition at line 33 of file SimpleSpriteHandler.php.