optional paramters

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328149 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xinchen Hui 2012-10-26 05:57:32 +00:00
parent aa7e8f8645
commit d69ea3a807
2 changed files with 16 additions and 4 deletions

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>Yaf_Dispatcher</type><methodname>Yaf_Dispatcher::autoRender</methodname>
<methodparam><type>bool</type><parameter>flag</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>flag</parameter></methodparam>
</methodsynopsis>
<para>
<classname>Yaf_Dispatcher</classname> will render automatically after
@ -33,7 +33,13 @@
<term><parameter>flag</parameter></term>
<listitem>
<para>
bool
bool
<note>
<para>
since 2.2.0, if this parameter is not given, then the current state
will be renturned
</para>
</note>
</para>
</listitem>
</varlistentry>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>Yaf_Dispatcher</type><methodname>Yaf_Dispatcher::flushInstantly</methodname>
<methodparam><type>bool</type><parameter>flag</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>flag</parameter></methodparam>
</methodsynopsis>
<para>
@ -28,7 +28,13 @@
<term><parameter>flag</parameter></term>
<listitem>
<para>
bool
<note>
<para>
since 2.2.0, if this parameter is not given, then the current state
will be renturned
</para>
</note>
</para>
</listitem>
</varlistentry>