[Typo3-dev] Order of stdWraps

Kasper Skårhøj kasper2005 at typo3.com
Thu Mar 31 17:08:00 CEST 2005


You have a free go to make it recursive according to your suggestion!

Send patch for approval...

- kasper


On Thu, 2005-03-31 at 16:07, Ingmar Schlecht wrote:
> Michael Stucki a écrit:
> > - How do you handle this? (I hate to nest cObjects only for this)
> 
> I think making stdWrap recursive would be the solution!
> 
> Right after the line
> if ($conf['trim']){$content=trim($content);}
> 
> you could instert the following:
> if ($conf['stdWrap'])
> 	{$content=$this->stdWrap($content,$conf['stdWrap.']);}
> 
> > - Should we think about the order of these statements?
> 
> Because of backwards compatibility I'd never change stdWrap order.
> 
> > - In this special case: Is there any reason for not moving "crop" right
> >   before "splitChar"?
> (I guess you mean "listNum" and not "splitChar".)
> 
> Of course there is! I think it's even more likely that one wants to crop 
> only one part returned by listNum than the way you would like it to act.
> 
> cheers,
> Ingmar
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
-- 
- kasper

*******************
Happy new year! - My email address is now: 

		kasper2005 at typo3.com 







More information about the TYPO3-dev mailing list