merge from maintainable svn
authorChuck Hagenbuch <chuck@horde.org>
Sat, 20 Dec 2008 05:22:09 +0000 (00:22 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 20 Dec 2008 05:22:09 +0000 (00:22 -0500)
framework/Controller/lib/Horde/Controller/Request/Http.php

index 952f2d5..4ce4566 100644 (file)
@@ -320,6 +320,26 @@ class Horde_Controller_Request_Http extends Horde_Controller_Request_Base
     }
 
     /**
+     * Get entire list of $_COOKIE parameters
+     *
+     * @return  array
+     */
+    public function getCookieParams()
+    {
+        return $this->_cookie;
+    }
+
+    /**
+     * Get entire list of $_SERVER parameters
+     *
+     * @return  array
+     */
+    public function getServerParams()
+    {
+        return $this->_server;
+    }
+
+    /**
      * Get a combination of all parameters. We have to do
      * some wacky loops to make sure that nested values in one
      * param list don't overwrite other nested values