在前台分组Home的config.php文件有如下代码:
'HTML_CACHE_ON'=>true,
'HTML_CACHE_RULES' => array(
'Index:show' => array('{:action}_{id}',10,'abc'),
'Index:index' => array('index')
)abc 是一个函数,定义在项目的common.php文件内
function abc($id){
return intval($id);
}就是举个例子,想问下如何将id的值传入项目的公共函数中进行处理?