PHP Classes

File: changelog

Recommend this page to a friend!
  Classes of Evgeny   tplTemplatez   changelog   Download  
File: changelog
Role: Documentation
Content type: text/plain
Description: changelog
Class: tplTemplatez
Template class used to separate PHP and HTML
Author: By
Last change:
Date: 20 years ago
Size: 1,293 bytes
 

Contents

Class file image Download
23/April/2003 Functionality added: Now you should not call tplParce() at end of script if you want strip not parsed blocks, they will be striped automatically, if any. ==================================================================== 10/April/2003 Bug fixed: Bug fixed when a template has more than one nested blocks (one level) in dynamic block. ==================================================================== 6/April/2003 Function added: tplSetNeededGlobal($alt_blocks) -- Set what blocks should be parsed (hide or show). For example you have 5 blocks <tmpl:if_blah>...</tmpl:if_blah> and they are in different dynamic or nested blocks. If you want show these blocks just call tplSetNeededGlobal('if_blah') after tplTemplatez($tplfile) and that's all, they will be printed. ==================================================================== 29/March/2003 Function added: tplStripVars($block) -- Strips unassigned vars {var}. Sometimes can be useful not show unassigned vars after parsing template. Call it after tplParce() and before tplPrint() @param string $block from what block to strip unassigned vars, by default from all parsed blocks ==================================================================== 21/March/2003 Realease.