コード例 #1
0
ファイル: SmartyBlockContext.php プロジェクト: ilivanoff/www
 public function registerBlock($content, $__FUNCTION__)
 {
     $contextParams = null;
     if ($content === null) {
         $this->setContext(PSSmartyTools::getFunctionName($__FUNCTION__));
         $this->LOGGER->info('{' . $this->getContextIdent() . '}');
     } else {
         $this->LOGGER->info('{/' . $this->getContextIdent() . '}');
         $contextParams = $this->getParams();
         $this->dropContext();
     }
     return $contextParams;
 }