從控制器接收資料

public function method_name($single, $array)
{
    echo $single;
    print_r($array);
}

注意從控制器傳遞到模型的順序。