soo_txp_obj API Documentation
soo_uri Class Reference
Class for URI query string manipulation. More...
Public Member Functions | |
__construct () | |
Constructor. | |
__call ($request, $args) | |
Override parent method to prevent direct property manipulation. | |
set_query_param ($name, $value=null) | |
Add, remove, or update a query parameter Then run update_from_params() to update $query_string and $request_uri (and the corresponding $_SERVER values) accordingly. | |
strip_query ($uri) | |
Remove the query string from a URI. | |
Protected Attributes | |
$full | |
Full URI. | |
$request_uri | |
$_SERVER['REQUEST_URI'] value | |
$query_string | |
$_SERVER['QUERY_STRING'] value | |
$query_params | |
URI query parameters. |
Detailed Description
Class for URI query string manipulation.
Definition at line 1668 of file soo_txp_obj.php.
Constructor & Destructor Documentation
soo_uri::__construct | ( | ) |
Constructor.
Extract REQUEST_URI and QUERY_STRING from $_SERVER, and parse into query params and full URI.
Definition at line 1686 of file soo_txp_obj.php.
Member Function Documentation
soo_uri::set_query_param | ( | $ | name, | |
$ | value = null | |||
) |
Add, remove, or update a query parameter Then run update_from_params() to update $query_string and $request_uri (and the corresponding $_SERVER values) accordingly.
- Parameters:
-
name Parameter name value Parameter value
Definition at line 1708 of file soo_txp_obj.php.
soo_uri::strip_query | ( | $ | uri | ) |
The documentation for this class was generated from the following file:
Generated on Fri Jan 7 2011 14:35:01 for soo_txp_obj by Doxygen 1.7.1