Ejemplo n.º 1
0
 public function add()
 {
     $objCart = new cart($this->registry->db, $_POST);
     $objCart->save();
     header('Location: http:index.php?p=cart/show');
 }