Exemplo n.º 1
0
 public function reset($template = '', $replacements = false, $template_directory = false, $line_prefix = false, $indentation_unit = false, $tag_prefix = false, $tag_postfix = false)
 {
     $this->setTemplate($template);
     if ($replacements) {
         $this->replacements = $replacements;
     }
     if ($template_directory) {
         self::$template_directory = $template_directory;
     }
     if ($line_prefix) {
         $this->line_prefix = $line_prefix;
     }
     if ($indentation_unit) {
         $this->indentation_unit = $indentation_unit;
     }
     return true;
 }