[TYPO3-core] RFC: #6829 - New general template-class usable for FE+BE

Benjamin Mack mack at xnos.org
Mon Nov 26 00:51:18 CET 2007


I did some whitespace cleanup (the way /I/ like it ;-)) before 
commiting. e.g. the $a = $b is in there.
I did not add the type hinting though.

greetings,
benni.
-SDG-

www.xnos.de // www.xnos.org


Martin Kutschker wrote:
> Steffen Kamper schrieb:
>> Hi,
>>
>> "Ingmar Schlecht" <ingmar at typo3.org> schrieb im Newsbeitrag 
>> news:mailman.1.1196002000.24558.typo3-team-core at lists.netfielders.de...
>>> +1 based on reading.
>>>
>>> cheers
>>> Ingmar
>>>
>> i made a little cleaning: removed rest, added braces and a better condition 
>> for wrap
> 
> <nitpicking>Then you should have used $a = $b instead of $a=$b in the 
> patch.</nitpicking>
> 
> PHP 5.1 question:
> 
> Can we turn this
> 
> substituteMarkerArray($content, $markContentArray,
>                        $wrap='',$uppercase=0){	
>    if (is_array($markContentArray)) {
>    ...
>    }
> }
> 
> into that?
> 
> substituteMarkerArray($content, array $markContentArray,
>                        $wrap='',$uppercase=0){	
> }
> 
> That is use type hinting instead of checking for the type.
> 
> Masi
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/ 
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core


More information about the TYPO3-team-core mailing list