将数据传递给模型
句法
$array = array(
'' => ,
); # can pass array
$singelData = ''; # something just a filed value
$this->load->model('model_name');
$this->model_name->method_name($singelData, $array);
实践
$array = array(
'name' => 'codeigniter',
'version' => '3.0',
'isArray' => 'yes',
);
$singelData = 'using model'; # something just a filed value
$this->load->model('home_model');
$this->home_model->get_data($singelData, $array);