logo
  • 教程列表
  • SO官方文檔
  • 在 codeigniter 中使用 Model
    • 呼叫模型函式
    • 建立模型
    • 將資料返回給控制器
    • 載入模型
    • 將資料傳遞給模型
    • 從控制器接收資料
  1. StackOverflow 文件
  2. codeigniter 教程
  3. 在 codeigniter 中使用 Model
  4. 從控制器接收資料

從控制器接收資料

Created: November-22, 2018

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

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

  • 將資料傳遞給模型

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明