PHPixie/Template

View on GitHub
examples/templates/fairy.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php $this->layout('layout'); ?>
<?php $this->startBlock('title'); ?>
Fairy page
<?php $this->endBlock(); ?>

<h2>Hello <?=$_($name)?></h2>
<?php include $this->resolve('fairy/greeting'); ?>