$main = new Raintpl();
$child_tpl = new Raintpl();
$child_tpl -> assign('all assignments here');
$main -> assign('inner_body',$tpl->draw($child_tpl, true));
echo $main->draw('main');
Many template engines implements this feature. What do you think about?
--
www.RainTPL.com
group at http://groups.google.com/group/raintpl
to post write at rai...@googlegroups.com
unsuscribe at raintpl+u...@googlegroups.com
I need urgent an example how i can integrate the rainTPL
in the zend framework.
Pleeeeeeeeeeeeeeeeeease help !
Your sincerly
Stephan Krau�
Stephan Krauß
I'm so happy :-) .
Thank you for the quick help.
In the next days i will test raintpl in the zend framework.
On the next wek i start a new project and i think rain is a great help.
I have read teh example how i can integrate rain.
Is there an special way to merge 2 templates ?
See => Inheritance.
I will define a master template. In zend is this the layout.
And i will put in same regions of the layout children templates.
Your sincerly
Stephan
No inheritance yet?
--
unsuscribe at raintpl+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "raintpl" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raintpl+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.