Provides HTTP request information such as headers, query parameters etc.
Wraps PHP's functions and global arrays to emulate Java's HttpServletRequest interface. That means it can only be used to represent the "current" request.
Located in /diy-framework/controller/Request.class.php (line 12)
Returns instance of self (Request object). Used to implement Singleton pattern.
Returns a request attribute, or null if it does not exist. They are used to save and share data between components in a context of a single request.
Returns a HTTP request header, or null if it does not exist.
Header names are the same as in PHP's $_SERVER[].
Returns a HTTP method (GET/POST/PUT/DELETE etc.) of this request.
Returns a HTTP request parameter (from both GET and POST) as a string, or null if it does not exist.
Returns a map (array with keys) of parameters of this Request.
Returns Returns any extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string. This method returns null if there was no extra path information.
Same as the value of the CGI variable PATH_INFO.
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
Same as the value of the CGI variable REQUEST_URI.
Returns the current Session object associated with this Request.
Sets a request attribute. They are used to save and share data between components in a context of a single request.
Documentation generated on Tue, 25 Sep 2007 11:17:22 +0200 by phpDocumentor 1.3.2