Login   Register  
PHP Classes

File: examples/templates/subtemplate.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jin Nguyen  >  Puja  >  examples/templates/subtemplate.tpl  >  Download  
File: examples/templates/subtemplate.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Puja
Template engine that compiles templates into PHP
Author: By
Last change:
Date: 1 year ago
Size: 286 bytes


Class file image Download
{% extends master.tpl %}
{% block body %}
- include file without variable:
{% include include.tpl %}

- include file with variable:
{% include include.tpl username="Jin" %}

- get_file:
{% get_file include.tpl %}

- get_file with escape:
{% get_file include.tpl escape %}
{% endblock %}