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,40 +74,6 @@
72
74
</note>
73
75
</refsect1>
74
76

75
-
<refsect1 role="notes">
76
-
&reftitle.notes;
77
-
<note>
78
-
<para>
79
-
<function>ini_get_all</function> ignores "array" ini options such as
80
-
pdo.dsn.*.
81
-
</para>
82
-
</note>
83
-
</refsect1>
84
-

85
-
<refsect1 role="changelog">
86
-
&reftitle.changelog;
87
-
<para>
88
-
<informaltable>
89
-
<tgroup cols="2">
90
-
<thead>
91
-
<row>
92
-
<entry>&Version;</entry>
93
-
<entry>&Description;</entry>
94
-
</row>
95
-
</thead>
96
-
<tbody>
97
-
<row>
98
-
<entry>5.3.0</entry>
99
-
<entry>
100
-
Added <parameter>details</parameter>.
101
-
</entry>
102
-
</row>
103
-
</tbody>
104
-
</tgroup>
105
-
</informaltable>
106
-
</para>
107
-
</refsect1>
108
-

109
77
<refsect1 role="examples">
110
78
&reftitle.examples;
111
79
<para>
...
...
@@ -191,11 +159,21 @@ Array
191
159
</para>
192
160
</refsect1>
193
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
+

194
172
<refsect1 role="seealso">
195
173
&reftitle.seealso;
196
174
<para>
197
175
<simplelist>
198
-
<member><xref linkend="configuration.changes" /></member>
176
+
<member><xref linkend="configuration.changes"/></member>
199
177
<member><function>ini_get</function></member>
200
178
<member><function>ini_restore</function></member>
201
179
<member><function>ini_set</function></member>
...
...
@@ -207,7 +185,6 @@ Array
207
185
</refsect1>
208
186

209
187
</refentry>
210
-

211
188
<!-- Keep this comment at the end of the file
212
189
Local variables:
213
190
mode: sgml
214
191