XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
core.process_compiled_include.php
Go to the documentation of this file.
1 <?php
17 function smarty_core_process_compiled_include($params, &$smarty)
18 {
19  $_cache_including = $smarty->_cache_including;
20  $smarty->_cache_including = true;
21 
22  $_return = $params['results'];
23 
24  foreach ($smarty->_cache_info['cache_serials'] as $_include_file_path=>$_cache_serial) {
25  $smarty->_include($_include_file_path, true);
26  }
27 
28  foreach ($smarty->_cache_info['cache_serials'] as $_include_file_path=>$_cache_serial) {
29  $_return = preg_replace_callback('!(\{nocache\:('.$_cache_serial.')#(\d+)\})!s',
30  array(&$smarty, '_process_compiled_include_callback'),
31  $_return);
32  }
33  $smarty->_cache_including = $_cache_including;
34  return $_return;
35 }
36 
37 ?>