Exemplo n.º 1
0
 function executeTemplate($template)
 {
     $fname = 'SkinMonoBookCBT::executeTemplate';
     wfProfileIn($fname);
     $tp = new CBTProcessor($template, $this);
     $tp->mFunctionCache = $this->mFunctionCache;
     $this->mCompiling = true;
     $text = $tp->execute();
     $this->mCompiling = false;
     $this->mFunctionCache = $tp->mFunctionCache;
     wfProfileOut($fname);
     return $text;
 }