mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
polished up output-*-rewrite-var
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203772 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
52accafdfe
commit
ab0b667a97
2 changed files with 19 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry id="function.output-add-rewrite-var">
|
||||
<refnamediv>
|
||||
<refname>output_add_rewrite_var</refname>
|
||||
|
@ -15,11 +15,21 @@
|
|||
<methodparam><type>string</type><parameter>value</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
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
|
||||
<parameter>session.use_trans_sid</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
This functions behavior is controled by the <literal>url_rewriter.tags</literal>
|
||||
&php.ini; parameter. See the <link linkend="ref.session">session</link> section
|
||||
for further details on this setting.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
This function buffers the output.
|
||||
Calling this function will implicitly start output buffering if it is
|
||||
not active already.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry id="function.output-reset-rewrite-vars">
|
||||
<refnamediv>
|
||||
<refname>output_reset_rewrite_vars</refname>
|
||||
|
@ -13,9 +13,11 @@
|
|||
<type>bool</type><methodname>output_reset_rewrite_vars</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>This function resets the URL rewriter and undo the changes made by
|
||||
<function>output_add_rewrite_var</function> and/or by
|
||||
<function>session_start</function> that are still in the buffer.
|
||||
<para>
|
||||
This function resets the URL rewriter and removes all rewrite
|
||||
variables previously set by the <function>output_add_rewrite_var</function>
|
||||
function or the session mechanism (if <literal>session.use_trans_sid</literal>
|
||||
was set on <function>session_start</function>).
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue