reference/info/functions/ini-get-all.xml
4e6f0774f03131cbeeb8c21019a690bf97fd22b6
...
...
@@ -9,9 +9,9 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>ini_get_all</methodname>
13
-
<methodparam choice="opt"><type>string</type><parameter>extension</parameter></methodparam>
14
-
<methodparam choice="opt"><type>bool</type><parameter>details</parameter><initializer>true</initializer></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>ini_get_all</methodname>
13
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>extension</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type>bool</type><parameter>details</parameter><initializer>&true;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Returns all the registered configuration options.
...
...
@@ -26,7 +26,7 @@
26
26
<term><parameter>extension</parameter></term>
27
27
<listitem>
28
28
<para>
29
-
An optional extension name. If set, the function return only options
29
+
An optional extension name. If not &null; or the &string; <literal>core</literal>, the function returns only options
30
30
specific for that extension.
31
31
</para>
32
32
</listitem>
...
...
@@ -48,6 +48,8 @@
48
48
&reftitle.returnvalues;
49
49
<para>
50
50
Returns an associative array with directive name as the array key.
51
+
Returns &false; and raises an <constant>E_WARNING</constant> level error
52
+
if the <parameter>extension</parameter> doesn't exist.
51
53
</para>
52
54
<para>
53
55
When <parameter>details</parameter> is &true; (default) the array will
...
...
@@ -72,30 +74,6 @@
72
74
</note>
73
75
</refsect1>
74
76

75
-
<refsect1 role="changelog">
76
-
&reftitle.changelog;
77
-
<para>
78
-
<informaltable>
79
-
<tgroup cols="2">
80
-
<thead>
81
-
<row>
82
-
<entry>&Version;</entry>
83
-
<entry>&Description;</entry>
84
-
</row>
85
-
</thead>
86
-
<tbody>
87
-
<row>
88
-
<entry>5.3.0</entry>
89
-
<entry>
90
-
Added <parameter>details</parameter>.
91
-
</entry>
92
-
</row>
93
-
</tbody>
94
-
</tgroup>
95
-
</informaltable>
96
-
</para>
97
-
</refsect1>
98
-

99
77
<refsect1 role="examples">
100
78
&reftitle.examples;
101
79
<para>
...
...
@@ -181,11 +159,21 @@ Array
181
159
</para>
182
160
</refsect1>
183
161

162
+
<refsect1 role="notes">
163
+
&reftitle.notes;
164
+
<note>
165
+
<para>
166
+
<function>ini_get_all</function> ignores "array" ini options such as
167
+
pdo.dsn.*.
168
+
</para>
169
+
</note>
170
+
</refsect1>
171
+

184
172
<refsect1 role="seealso">
185
173
&reftitle.seealso;
186
174
<para>
187
175
<simplelist>
188
-
<member><xref linkend="configuration.changes" /></member>
176
+
<member><xref linkend="configuration.changes"/></member>
189
177
<member><function>ini_get</function></member>
190
178
<member><function>ini_restore</function></member>
191
179
<member><function>ini_set</function></member>
...
...
@@ -197,7 +185,6 @@ Array
197
185
</refsect1>
198
186

199
187
</refentry>
200
-

201
188
<!-- Keep this comment at the end of the file
202
189
Local variables:
203
190
mode: sgml
204
191