コード例 #1
0
 function display($resource_name, $cache_id = null, $compile_id = null)
 {
     $this->_getResourceInfo($resource_name);
     // Saves resource info to a Smarty class var for debugging
     $_t3_fetch_result = $this->fetch($resource_name, tx_smarty_div::getCacheID($cache_id), $compile_id);
     if ($this->debugging) {
         // Debugging will have been evaluated in fetch
         require_once SMARTY_CORE_DIR . 'core.display_debug_console.php';
         $_t3_fetch_result .= smarty_core_display_debug_console(array(), $this);
     }
     return $_t3_fetch_result;
 }