PHP Template Inheritance News
Status: Inactive
Brought to you by:
ddornhardt
Unfortunately I found a bug which is not fixable within the current design.
The problem I noticed is that outside the first include()d template, the local variables of the including script are lost.
It's still possible to use $GLOBALS or some other mechanism (Eg. Singleton Pattern) to access variables in the base or intermediate templates, but the simple elegance I was shooting for just isn't there right now.
Thanks everybody for coming bye - and thanks for all the fish. :)