From 14bee6bccd8fbaf61786b6e3936d85a71bd97f82 Mon Sep 17 00:00:00 2001
From: Michael Wallner
Date: Thu, 6 Jul 2006 18:19:23 +0000
Subject: [PATCH] - add HttpQueryString::mod()
---
docs/functions.html | 9 ++++++++-
http_querystring_object.c | 37 +++++++++++++++++++++++++++++++++--
package2.xml | 5 +++--
php_http.h | 2 +-
php_http_querystring_object.h | 1 +
5 files changed, 48 insertions(+), 6 deletions(-)
diff --git a/docs/functions.html b/docs/functions.html
index b939e06..c3d2aad 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -644,6 +644,12 @@ Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is TRUE.
"b" for bool, "i" for int, "f" for float, "s" for string, "a" for array and "o" for a stdClass object.
string HttpQueryString::set(mixed params)
Set query string entry/entries. NULL values will unset the variable.
+HttpQueryString HttpQueryString::mod(mixed params)
+Copies the query string object and sets provided params at the clone.
+This is basically shorthand for:
+<?php
$newQS = new HttpQueryString(false, $oldQS);
$newQS->set($other_params);
?>
+
+
static HttpQueryString HttpQueryString::singleton([bool global = true])
Get a single instance (differentiates between the global setting).
bool HttpQueryString::xlate(string ie, string oe)
@@ -1322,6 +1328,7 @@ http.cache_log is set.
HttpQueryString::toArray()
HttpQueryString::get()
HttpQueryString::set()
+HttpQueryString::mod()
HttpQueryString::singleton()
HttpQueryString::xlate()
HttpQueryString::serialize()
@@ -1442,7 +1449,7 @@ http.cache_log is set.
- Generated at: Thu, 08 Jun 2006 23:59:56 +0200
+ Generated at: Thu, 06 Jul 2006 20:17:57 +0200