
How can I place or inject a template file into variable?
eg
$template_output = $template->inject('/path/to/template.php');
or
$template->add('template_output', '/path/to/template.php');
$template_output = $template->place('template_output');
It's there a solution to get the output to a variable except ob_start (); ... ob_end_flush(); ?