From ab0b667a97df36aca349e22f083f0f5543cc858b Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 27 Dec 2005 12:24:35 +0000 Subject: [PATCH] polished up output-*-rewrite-var git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203772 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/output-add-rewrite-var.xml | 16 +++++++++++++--- .../functions/output-reset-rewrite-vars.xml | 10 ++++++---- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/reference/outcontrol/functions/output-add-rewrite-var.xml b/reference/outcontrol/functions/output-add-rewrite-var.xml index cefffd58fa..2de6cc43f3 100755 --- a/reference/outcontrol/functions/output-add-rewrite-var.xml +++ b/reference/outcontrol/functions/output-add-rewrite-var.xml @@ -1,5 +1,5 @@ - + output_add_rewrite_var @@ -15,11 +15,21 @@ stringvalue - This function rewrite the URLs and forms with the given variable. + This function adds another name/value pair to the URL rewrite mechanism. + The name and value will be added to URLs (as GET parameter) and forms + (as hidden input fields) the same way as the + session ID when transparent URL rewriting is enabled with + session.use_trans_sid. + + + This functions behavior is controled by the url_rewriter.tags + &php.ini; parameter. See the session section + for further details on this setting. - This function buffers the output. + Calling this function will implicitly start output buffering if it is + not active already. diff --git a/reference/outcontrol/functions/output-reset-rewrite-vars.xml b/reference/outcontrol/functions/output-reset-rewrite-vars.xml index a5e74b2e50..dc8bdfea84 100755 --- a/reference/outcontrol/functions/output-reset-rewrite-vars.xml +++ b/reference/outcontrol/functions/output-reset-rewrite-vars.xml @@ -1,5 +1,5 @@ - + output_reset_rewrite_vars @@ -13,9 +13,11 @@ booloutput_reset_rewrite_vars - This function resets the URL rewriter and undo the changes made by - output_add_rewrite_var and/or by - session_start that are still in the buffer. + + This function resets the URL rewriter and removes all rewrite + variables previously set by the output_add_rewrite_var + function or the session mechanism (if session.use_trans_sid + was set on session_start).