reference/apcu/apcuiterator/construct.xml
c44e9cb68b9b65771f9c45db2c07a06c63d71359
...
...
@@ -9,13 +9,13 @@
9
9

10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<constructorsynopsis>
13
13
<modifier>public</modifier> <methodname>APCUIterator::__construct</methodname>
14
-
<methodparam choice="opt"><type>mixed</type><parameter>search</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>search</parameter><initializer>&null;</initializer></methodparam>
15
15
<methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>APC_ITER_ALL</initializer></methodparam>
16
16
<methodparam choice="opt"><type>int</type><parameter>chunk_size</parameter><initializer>100</initializer></methodparam>
17
17
<methodparam choice="opt"><type>int</type><parameter>list</parameter><initializer>APC_LIST_ACTIVE</initializer></methodparam>
18
-
</methodsynopsis>
18
+
</constructorsynopsis>
19
19
<para>
20
20
Constructs an <classname>APCUIterator</classname> <type>object</type>.
21
21
</para>
...
...
@@ -28,10 +28,10 @@
28
28
<term><parameter>search</parameter></term>
29
29
<listitem>
30
30
<para>
31
-
A <link linkend="book.pcre">PCRE</link> regular expression that
32
-
matches against APCu key names, either as a <type>string</type> for
33
-
a single regular expression, or as an <type>array</type> of regular
34
-
expressions. Or, optionally pass in &null; to skip the search.
31
+
Either a <link linkend="book.pcre">PCRE</link> regular expression that
32
+
matches against APCu key names, given as a &string;.
33
+
Or an &array; of &string;s with APCu key names.
34
+
Or, optionally &null; to skip the search.
35
35
</para>
36
36
</listitem>
37
37
</varlistentry>
...
...
@@ -65,14 +65,6 @@
65
65
</variablelist>
66
66
</refsect1>
67
67

68
-
<refsect1 role="returnvalues">
69
-
&reftitle.returnvalues;
70
-
<para>
71
-
An <classname>APCUIterator</classname> <type>object</type> on success,
72
-
or &null; on failure.
73
-
</para>
74
-
</refsect1>
75
-

76
68
<refsect1 role="examples">
77
69
&reftitle.examples;
78
70
<para>
79
71