[TYPO3-core] RFC: GIFBUILDER transparency

Franz Holzinger franz at fholzinger.com
Fri Mar 17 18:56:10 CET 2006


Martin Kutschker a écrit :

>Bernhard Kraft <kraftb at kraftb.at> writes on 
>Fri, 17 Mar 2006 18:41:12 +0100 (MET):
>  
>
>>I had to set it to -1 because else the method would return two
>>different kind of values (integer for color index boolean false for
>>not found).
>>    
>>
>
>
>PHPs search functions do it the same. FALSE means not found, an integer returns the "real thing". Anyway, I don't care if it's -1 or FALSE.
>
>  
>
This is a case for the Coding Guidelines.
All TYPO3 and also extension functions should behave the same.


- Franz





More information about the TYPO3-team-core mailing list