File: |
includes/REG_template.class.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
the main class |
Class: |
REG_template
Template engine that uses regular expressions |
Author: |
By Eper Kalman |
Last change: |
Changed license from MIT to GPL
Added functions cache_save_as() & no_cache()
Added functions hide() & get_output()
Separated processing functions
Removed limitation of using ASCII template file names
Changed way of evaulating php sections
Fixed literal sections not processed in included files bug
Fixed preg_quote quoting the delimiter bug
Changed storing cache files (filename to php_self+query string)
Removed cache_lifetime(0) no new cache functionality
Replaced PHP_EOL to "\r\n"
Added output buffering
Changed template error function to less code
Removed unnecessary isset-s
Removed unnecessary this->val from evaulate section |
Date: |
13 years ago |
Size: |
22,889 bytes |
|
|
|