PHP Classes

phplibTemplateExtention: Class AppTemplate Extends Template

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: 789 All time: 4,322 This week: 560Up
Version License Categories
apptemplate 1.0GNU General Publi...Templates
Description 

Author

Recently updated the class - no longer uses preg_match - it uses awk instead - so windows users you can uncomment the preg_match_all section (see the code its commented) and comment the awk parts instead - using awk speeds the class up a lot.


phplib has template.inc - a template class for php to utilize templates. This is an extension to the class Template needing less code by:

Automatic detection and declaration of blocks
Automatic "blanking" of unused blocks
Blocks automatically declaired in proper nested order.
All calls to set up template/file/paths/names in the class call.

- LGPL / GPL - phplibs license anyway - its their template class - I just extended it to make my life a little easier.

Picture of Mark Williamson
Name: Mark Williamson <contact>
Classes: 5 packages by
Country: United Kingdom

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example_usage.php Example example call and usage of AppTemplate class
Plain text file ExtendsTemplate.inc Class Extends phplib Template 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:789
This week:0
All time:4,322
This week:560Up