svn: /phpdoc/en/trunk/reference/yaf/ yaf-request-http.xml yaf_loader/construct.xml
| From: | Xinchen Hui | Date: | Sat, 16 May 2015 03:00:58 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/yaf/ yaf-request-http.xml yaf_loader/construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13303@lists.php.net to get a copy of this message | ||
laruence Sat, 16 May 2015 03:00:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=336786
Log:
update doc
Changed paths:
U phpdoc/en/trunk/reference/yaf/yaf-request-http.xml
U phpdoc/en/trunk/reference/yaf/yaf_loader/construct.xml
Modified: phpdoc/en/trunk/reference/yaf/yaf-request-http.xml
===================================================================
--- phpdoc/en/trunk/reference/yaf/yaf-request-http.xml 2015-05-15 18:05:27 UTC (rev 336785)
+++ phpdoc/en/trunk/reference/yaf/yaf-request-http.xml 2015-05-16 03:00:58 UTC (rev 336786)
@@ -12,7 +12,27 @@
<section xml:id="yaf-request-http.intro">
&reftitle.intro;
<para>
-
+ Any request from client is initialized as a
+ <classname>Yaf_Request_Http</classname>.
+ you can get the rquest infomations like, uri query and
+ post parameters via methods of this class.
+ <note>
+ <para>
+ For security, $_GET/$_POST are readonly in Yaf, which means
+ if you set a value to these global variables, you can not get it from
+ <methodname>Yaf_Request_Http::getQurey</methodname> or
+ <methodname>Yaf_Request_Http::getPost</methodname>.
+ </para>
+ <para>
+ But there do is some usage need such feature, like unit testing. thus
+ Yaf can be built with --enable-yaf-debug, which will allow Yaf read the
+ value user set via script.
+ </para>
+ <para>
+ in such case, Yaf will throw a E_STRICT warning to remind you about
+ that: Strict Standards: you are running yaf in debug mode
+ </para>
+ </note>
</para>
</section>
<!-- }}} -->
Modified: phpdoc/en/trunk/reference/yaf/yaf_loader/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/yaf/yaf_loader/construct.xml 2015-05-15 18:05:27 UTC (rev 336785)
+++ phpdoc/en/trunk/reference/yaf/yaf_loader/construct.xml 2015-05-16 03:00:58 UTC (rev 336786)
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
-
<modifier>public</modifier><methodname>Yaf_Loader::__construct</methodname>
+
<modifier>private</modifier><methodname>Yaf_Loader::__construct</methodname>
<void />
</methodsynopsis>
<para>