I want to sent a parameter from controller to model. Then, the parameter will be processed in the model. But, the parameter name is should be the same. How to do this?
$thumb_ass = $this->MProperty->sel_asset_by_list($val_id_assets,$par = "PAR_1");
$slide_ass = $this->MProperty->sel_asset_by_list($val_id_assets,$par = "PAR_2");
$data = array ('thumb_ass' => $thumb_ass, 'slide_ass' =>$slide_ass);
But the parameter is not sent to model.