[Typo3-dev] Smaller Switch Constructs
    Ingmar Schlecht 
    ingmar at typo3.org
       
    Wed Nov 10 17:35:54 CET 2004
    
    
  
Hi Mathias,
Mathias Schreiber [wmdb>] schrieb:
> I just did a rather small xclass on the Actions Module and thought that 
> maybe if would make sende to keep the switch constructs smaller and use 
> more functions instead of writing code inside the cases.
It seems like Kasper is aware of the problem. As far as I remember, in 
class.t3lib_tceforms he outsourced code from within the switch construct 
to functions in 3.6.0.
BTW, which class are you going to XCLASS? Does a hook make sense?
cheers,
Ingmar
    
    
More information about the TYPO3-dev
mailing list