Пример #1
0
 public function updatePumpStatus()
 {
     require 'models/Stocks_model.php';
     $model = new Stocks_model();
     $id = $_GET['id'];
     $status = $_GET['status'];
     $model->updatePumpStatus($id, $status);
 }