PHP Classes

Bitter PHP Template Engine: Process template files that can be nested

Recommend this page to a friend!
  Info   View files Example   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-06-28 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 49 This week: 2All time: 10,324 This week: 138Up
Version License PHP version Categories
bittr_template_engin 1.0.0BSD License5PHP 5, Files and Folders, Templates
Description Author

This package can process template files that can be nested.

It takes an array of template files as a parameter.

It processes the first template file in the array by replacing marks by the result of the processing of other template files.

The class returns a string as the result of processing all template files.

Picture of chrys ugwu
  Performance   Level  
Innovation award
Innovation award
Nominee: 4x

 

Details

Bitter Template Engine

PHP template Engine

Config Methods

Config::setExtension([string] $extension) : changes default template file extension. Config::setTemplatePath([string] $path) : changes default template files path. Config::setLogDir([string] $path) : changes default log directory. Config::setTimeZone([string] $timezone_identifier) : changes default timezone identifier. Config::setTags([string] $opening_tag, ([string] $closing_tag)) : changes default template tags. Config::listAttribute() : list all defined attributes. Config::listOut([bool] $with_extension) : lists all the template files.

References

inc : includes and evaluates the specified file req : alias of inc but throws an error upon failure

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Files folder imageTemplates (4 files)
Plain text file index.php Example Example script
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:49
This week:2
All time:10,324
This week:138Up

For more information send a message to info at phpclasses dot org.