<?php
require '../include/ezc-setup.php';
require '../include/template_function_call.php';
$tpl = new ezcTemplate();
$tpl->configuration->addExtension( "TemplateFunctionCall" );
$tpl->send->listing = array( 1 => 'Item 1', 2 => 'Item 2' );
echo $tpl->process( 'oneonly.ezt' );
?>
{use $listing} <ul> {foreach $listing as $id => $entry} <li><a href='index.php?mailNr={$id}' class="nowrap">{$entry}</a></li> {/foreach} </ul>
- Variable scoping per file
- Output contexts
- Custom extensions: functions, blocks
- Compiled to PHP code