Example #1
0
 /**
  * static version which does new, compile and output all in one go.
  *
  *   See outputObject($t) for more details.
  *
  *   @version    01/12/14
  *   @access     public
  *   @param      object object to output as $t
  *   @param      filename of template
  *   @return     string - result
  */
 public static function &staticQuickTemplate($file, &$t)
 {
     $template = new self();
     $template->compile($file);
     $template->outputObject($t);
 }