/** * MAKE A RESERVATION OR AN ORDER * @param not necessary:int id(user id) * :int pid : int amount: int status; */ public function actionToCart($pid, $amount, $status) { $res = new Res(); $res->makeRes($pid, $amount, $status); }