选择语言 :

 Core_Model::clear_cache_data

清除指定方法和参数的缓存

null Core_Model::clear_cache_data( string $fun [, string $arg1 = empty , mixed $arg2 = empty ] )

参数列表

参数 类型 描述 默认值
$fun string $model_name
$arg1 string $fun empty
$arg2 mixed $arg1 empty
File: ./core/classes/model.class.php
public function clear_cache_data($fun,$arg1='',$arg2='')
{
    $args = func_get_args();
    array_shift($args);
    $this->_clear_cache_data_mode = true;
    call_user_func_array( array($this,$fun) , $args);
    $this->_clear_cache_data_mode = false;
}