Exemplo n.º 1
0
 /**
  * DISPLAY ALL THE NORMAL AND RES
  */
 public function actionDisplay()
 {
     $id = Yii::app()->user->id;
     $res = new Res();
     $carts = $res->getCartById($id);
     $n_res = $res->getResById($id);
     $this->render("cart", array("cart" => $carts, "res" => $n_res));
 }