Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.13

Request #10123 Multiple indirection, i.e. a.b().c() etc
Submitted: 2007-02-19 10:43 UTC
From: mike at we11er dot co dot uk Assigned:
Status: Analyzed Package: HTML_Template_Flexy (version 1.2.5)
PHP Version: 5.2.0 OS: Windows
Roadmaps: (Not assigned)    
Subscription  


 [2007-02-19 10:43 UTC] mike at we11er dot co dot uk (Mike Weller)
Description: ------------ I tried the following: {a.method().method()} But the parser generates an error (I can't give an example right now, I'll paste one later). I'm guessing this isn't supported? I think it's pretty important, otherwise my back-end code has to munge all the data into 'flat' classes before it can be used... which is messy and time consuming.

Comments

 [2007-02-20 02:52 UTC] alan_k (Alan Knowles)
nope, It's not supported - PHP4 never supported this, so it was never on the critical path. - It should be feasible to add to the parser/generator, feel free to send me a patch.