TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Sprite\SpriteIconGeneratorInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Backend\Sprite\SpriteIconGeneratorInterface:
t3lib_spritemanager_SpriteIconGenerator TYPO3\CMS\Backend\Sprite\AbstractSpriteHandler t3lib_spritemanager_AbstractHandler TYPO3\CMS\Backend\Sprite\SimpleSpriteHandler TYPO3\CMS\Backend\Sprite\SpriteBuildingHandler t3lib_spritemanager_SimpleHandler t3lib_spritemanager_SpriteBuildingHandler

Public Member Functions

 generate ()
 
 getAvailableIconNames ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Interface all handlers in SpriteManager have to implement.

Author
Steffen Ritter info@.nosp@m.stef.nosp@m.fen-r.nosp@m.itte.nosp@m.r.net

Definition at line 21 of file SpriteIconGeneratorInterface.php.

Member Function Documentation

◆ generate()

TYPO3\CMS\Backend\Sprite\SpriteIconGeneratorInterface::generate ( )

the implementation of this function has to do the main task this function will be called if the extension list changed or registered icons in TBE_STYLES[spritemanager] changed

Returns
void

Implemented in TYPO3\CMS\Backend\Sprite\AbstractSpriteHandler, TYPO3\CMS\Backend\Sprite\SimpleSpriteHandler, and TYPO3\CMS\Backend\Sprite\SpriteBuildingHandler.

◆ getAvailableIconNames()

TYPO3\CMS\Backend\Sprite\SpriteIconGeneratorInterface::getAvailableIconNames ( )

The sprite manager will call this function after the call to "generate" it should return an array of all sprite-icon-names generated through the run

Returns
array All generated/detected sprite-icon-names

Implemented in TYPO3\CMS\Backend\Sprite\AbstractSpriteHandler.