[TYPO3-core] RFC #16009: Cleanup: refactor sprite icon api, to have more elementary functions instead of big ones

Ernesto Baschny [cron IT] ernst at cron-it.de
Sat Oct 16 18:13:25 CEST 2010


Steffen Ritter schrieb:

> This is an SVN patch request.
> 
> Type: CodeCleanup /Refactoring
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=16009
> 
> Branches: trunk
> 
> Problem:
> in t3lib_iconWorks there are 2 functions, 
> mapFileExtensionToSpriteIconClasses and mapRecordTypeToSpriteIconClasses 
> which are quite big function combining each two features.
> Just split up those functions

+1 by reading and testing.

Commited to trunk, rev. 9097.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list