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; }
function info($txt) { println(stencil_info($txt)); }