I'm new to PHP, and I'm looking to do what I'd normally do with Struts Tiles in JSP. I'm looking for something like:
Template.php:
<html><body>
<div class="header"></div>
<div class="contents">
<#insert sectionName="pageContents">
</div>
</body></html>
Content.php:
<#template name="Template.php">
<#section name="pageContents">
<div>
<?php doSomething(); ?>
</div>
</#section>
</#template>
Such that a request for Content.php returns the contents of Content.php included into Template.php appropriately. I'm looking for the fastest solution in terms of minimal installation/configuration time.