TYPO3
7.6
|
Public Member Functions | |
__construct () | |
generate () | |
getAvailableIconNames () | |
Protected Member Functions | |
loadRegisteredSprites () | |
collectTcaSpriteIcons () | |
Protected Attributes | |
$iconNames = array() | |
$styleSheetData = '' | |
$cssTcaFile = '' | |
An abstract class implementing SpriteIconGeneratorInterface. Provides base functionality for all handlers.
Definition at line 25 of file AbstractSpriteHandler.php.
__construct | ( | ) |
constructor just init's the temp-file-name
Definition at line 53 of file AbstractSpriteHandler.php.
References SpriteManager\$tempPath.
|
protected |
this method creates sprite icon names for all tables in TCA (including their possible type-icons) where there is no "typeicon_classes" of this TCA table ctrl section (moved form )
Definition at line 129 of file AbstractSpriteHandler.php.
References $GLOBALS, elseif, PathUtility\getRelativePathTo(), PathUtility\pathinfo(), and GeneralUtility\resolveBackPath().
Referenced by SimpleSpriteHandler\buildCssAndRegisterIcons(), and SpriteBuildingHandler\generate().
generate | ( | ) |
Interface function. This will be called from the sprite manager to refresh all caches.
Implements SpriteIconGeneratorInterface.
Definition at line 103 of file AbstractSpriteHandler.php.
References AbstractSpriteHandler\loadRegisteredSprites(), and GeneralUtility\writeFile().
getAvailableIconNames | ( | ) |
Returns the detected icon-names which may be used through ::getSpriteIcon.
Implements SpriteIconGeneratorInterface.
Definition at line 117 of file AbstractSpriteHandler.php.
References AbstractSpriteHandler\$iconNames.
|
protected |
Loads all stylesheet files registered through ::addIconSprite
In fact the stylesheet-files are copied to ::tempPath where they automatically will be included from via and
Definition at line 71 of file AbstractSpriteHandler.php.
References $GLOBALS, SpriteManager\$tempPath, and GeneralUtility\getFilesInDir().
Referenced by AbstractSpriteHandler\generate().
|
protected |
Definition at line 46 of file AbstractSpriteHandler.php.
|
protected |
Definition at line 32 of file AbstractSpriteHandler.php.
Referenced by AbstractSpriteHandler\getAvailableIconNames().
|
protected |
Definition at line 39 of file AbstractSpriteHandler.php.