将方法调用保存在变量中

在控制器中:

$this->load->model('your_model');
$data['model'] = $this->your_model;

在视图中:

$model->your_method;