PHP Classes

PHP Simple View: Template engine that supports template inheritance

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 360 All time: 6,913 This week: 560Up
Version License PHP version Categories
php-simple-view 1.0Artistic License5.3PHP 5, Templates
Description 

Author

This class implements a template engine that supports template inheritance.

It can process templates with support for variables that are set as class variables

It also supports multiple template inheritance so a template can be based on another and the definition of some its blocks can be redefined in child template.

Picture of Mallory  Dessaintes
Name: Mallory Dessaintes <contact>
Classes: 3 packages by
Country: Belgium Belgium

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file Controller.php Example Example controller file
Accessible without login Plain text file index.tpl Aux. index template
Accessible without login Plain text file layout.tpl Aux. Layout template (used for inheritance)
Accessible without login Plain text file layout2.tpl Aux. layout2 template (used for inheritance)
Plain text file PhpSimpleView.class.php Class Main file containing the class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:360
This week:0
All time:6,913
This week:560Up