Esempio n. 1
0
 public function removerItemAction()
 {
     $this->getHelper('viewRenderer')->setNoRender();
     $request = $this->getRequest()->getParams();
     $id = $request['id'];
     $carrinho = new Application_Model_Carrinho();
     $retorno = $carrinho->carrinho($request['id'], NULL, TRUE, TRUE);
     echo json_encode($retorno);
 }