Пример #1
0
 /**
  * BlockenTemplate()
  *
  * @param string $sTemplateDir
  * @param string $sSigmaCacheDir
  * @param array  $arrayCacheOption
  */
 function BlockenTemplate($sTemplateDir, $sSigmaCacheDir, $arrayCacheOption)
 {
     if (BLOCKEN_DEBUG_MODE && (BLOCKEN_ALWAYS_DEBUG || BlockenCommon::isMember())) {
         $this->_fStart = BlockenCommon::getMicroTime();
     }
     parent::HTML_Template_Sigma($sTemplateDir, $sSigmaCacheDir);
     parent::setCallbackFunction('c', '_btplConvertValue');
     parent::setCallbackFunction('d', '_btplDateFormat');
     parent::setCallbackFunction('k', 'mb_convert_kana');
     parent::setCallbackFunction('m', 'number_format');
     parent::setCallbackFunction('b', 'nl2br');
     $this->_objCache =& new Cache(BLOCKEN_CACHE_DRIVER, $arrayCacheOption);
 }