Example #1
0
 function SetVars($content)
 {
     $content = preg_replace('/\\${information}/', stencil_info($this->information), $content);
     $content = setvars($content);
     foreach ($this->vars as $k => $v) {
         $content = preg_replace('/\\${' . prepare_pattern($k) . '}/', $v, $content);
     }
     $content = deecranvars($content);
     return $content;
 }
Example #2
0
 function info($txt)
 {
     println(stencil_info($txt));
 }