mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document optional parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110842 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
aa4947722b
commit
a44bbd952f
3 changed files with 14 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.stream-filter-append">
|
||||
<refnamediv>
|
||||
<refname>stream_filter_append</refname>
|
||||
|
@ -11,11 +11,13 @@
|
|||
<type>bool</type><methodname>stream_filter_append</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filtername</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>params</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Adds <parameter>filtername</parameter> to the list of filters
|
||||
attached to <parameter>stream</parameter>. This filter will be
|
||||
added to the <emphasis>end</emphasis> of the list and
|
||||
added with the specified <parameter>params</parameter>
|
||||
to the <emphasis>end</emphasis> of the list and
|
||||
will therefore be called last during stream opperations. To
|
||||
add a filter to the beginning of the list, use
|
||||
<function>stream_filter_prepend</function>.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.stream-filter-prepend">
|
||||
<refnamediv>
|
||||
<refname>stream_filter_prepend</refname>
|
||||
|
@ -11,11 +11,13 @@
|
|||
<type>bool</type><methodname>stream_filter_prepend</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filtername</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>params</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Adds <parameter>filtername</parameter> to the list of filters
|
||||
attached to <parameter>stream</parameter>. This filter will be
|
||||
added to the <emphasis>beginning</emphasis> of the list and
|
||||
added with the specified <parameter>params</parameter>
|
||||
to the <emphasis>beginning</emphasis> of the list and
|
||||
will therefore be called first during stream opperations. To
|
||||
add a filter to the end of the list, use
|
||||
<function>stream_filter_append</function>.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.stream-get-filters">
|
||||
<refnamediv>
|
||||
<refname>stream_get_filters</refname>
|
||||
|
@ -9,11 +9,13 @@
|
|||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>stream_get_filters</methodname>
|
||||
<void/>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>system</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns an indexed array containing the name of all stream filters
|
||||
available on the running system.
|
||||
Returns an indexed array containing the name of all user-defined stream filters
|
||||
available on the running system. If the <parameter>system</parameter>
|
||||
parameter is set to true, then system defined filters will be included in the returned
|
||||
array as well.
|
||||
</para>
|
||||
<para>
|
||||
See Also:
|
||||
|
|
Loading…
Reference in a new issue