Example #1
0
 /**
  *  compiles all templates
  *  Used for offline batch compilation (eg. if your server doesn't have write access to the filesystem).
  *
  *   @access     public
  *   @author     Alan Knowles <*****@*****.**>
  *
  */
 function compileAll($dir = '', $regex = '/.html$/')
 {
     require_once 'HTML/Template/Flexy/Compiler.php';
     $c = new HTML_Template_Flexy_Compiler();
     $c->compileAll($this, $dir, $regex);
 }
Example #2
0
 /**
  *  compiles all templates
  *  Used for offline batch compilation (eg. if your server doesn't have write access to the filesystem).
  *
  *   @access     public
  *   @author     Alan Knowles <*****@*****.**>
  *
  */
 function compileAll($dir = '', $regex = '/.html$/')
 {
     $c = new HTML_Template_Flexy_Compiler();
     $c->compileAll($this, $dir, $regex);
 }