cvs: peardoc /en/package/html html-crypt.xml
| From: | Christian Weiske | Date: | Tue, 10 Apr 2007 11:32:25 +0000 |
| Subject: | cvs: peardoc /en/package/html html-crypt.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9616@lists.php.net to get a copy of this message | ||
cweiske Tue Apr 10 11:32:25 2007 UTC
Modified files:
/peardoc/en/package/html html-crypt.xml
Log:
Add a note about getOutput() to HTML_Crypt docs
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-crypt.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/package/html/html-crypt.xml
diff -u peardoc/en/package/html/html-crypt.xml:1.2 peardoc/en/package/html/html-crypt.xml:1.3
--- peardoc/en/package/html/html-crypt.xml:1.2 Sun Nov 26 22:04:06 2006
+++ peardoc/en/package/html/html-crypt.xml Tue Apr 10 11:32:25 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="package.html.html-crypt">
<title>HTML_Crypt</title>
<para>
@@ -33,6 +33,14 @@
It is also limited to ASCII characters between 32 and 127 (included).
Other characters will not be encrypted.
</para>
+
+ <para>
+ If you don't want to output the generated javascript directly to the browser
+ but use it otherwise or replace a template variable, use
+ <function>getOutput</function> instead of <function>output</function> -
+ the first returns the generated javascript, the latter echoes it out.
+ </para>
+
</sect1>
<!-- Keep this comment at the end of the file
Local variables: