Public feed #891170

Mine

public text v1 · immutable
Raw Edit
·published 2008-02-04 12:51 UTC
rendered paste body
1) include the template class
2) new template
3) Load a page with ob_get_contents
 File looks like:
 $classes = array();
 $functions = array();

 ..page content

4) Replace some tags, {content} gets the contents from (3)
then i want {classes} to be the $classes var.. this i cant do 
without echoing out (3), and if i do that, the page loads two times.. 
One time at (3), and a second time here (4)

5) Display page