Ejemplo n.º 1
0
 function getproductAction()
 {
     if ($this->getRequest()->isPost()) {
         $post = $this->getRequest()->getPost();
         $dbbooking = new Application_Model_DbTable_Dbstuffrental();
         $dbbooking->createSessionStuffBooking($post, 2);
         $this->_redirect("stuffbooking/index");
     }
 }
Ejemplo n.º 2
0
 function getstuffidAction()
 {
     $id = $this->getRequest()->getParam("id");
     if ($id) {
         $dbbooking = new Application_Model_DbTable_Dbstuffrental();
         $dbbooking->createSessionStuffBooking($id, 1);
         $this->_redirect("stuffbooking/index");
     } else {
         $this->_redirect("stuffbooking/index");
     }
 }