cvs: peardoc /en/package/configuration/config/config parseconfig.xml
[email protected] ("Brett Bieber")
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <cvssaltybeagle1197413424@cvsserver> |
saltybeagle Tue Dec 11 22:50:24 2007 UTC
Modified files:
/peardoc/en/package/configuration/config/config parseconfig.xml
Log:
Doc Bug #11846 Config::parseConfig() Possible PEAR_Error values table unfinished --- Document the possible errors which are returned by the parseConfig method.
http://cvs.php.net/viewvc.cgi/peardoc/en/package/configuration/config/config/parseconfig.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/package/configuration/config/config/parseconfig.xml
diff -u peardoc/en/package/configuration/config/config/parseconfig.xml:1.4 peardoc/en/package/configuration/config/config/parseconfig.xml:1.5
--- peardoc/en/package/configuration/config/config/parseconfig.xml:1.4 Wed Oct 24 16:19:26 2007
+++ peardoc/en/package/configuration/config/config/parseconfig.xml Tue Dec 11 22:50:24 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.configuration.config.config.parseconfig">
<refnamediv>
<refname><function>Config::parseConfig</function></refname>
@@ -95,15 +95,19 @@
</thead>
<tbody>
<row>
- <entry></entry>
- <entry><quote></quote></entry>
- <entry></entry>
- <entry></entry>
- </row>
+ <entry>PEAR_ERROR_RETURN</entry>
+ <entry><quote>Configuration type '$configType' is not registered in Config::parseConfig.</quote></entry>
+ <entry>The config type must be registered for use by Config.</entry>
+ <entry>Use one of the standard config types, or register your custom container using
+ <link linkend="package.configuration.config.config.registerconfigtype">Config::registerConfigType</link></entry>
+ </row>
</tbody>
</tgroup>
</table>
- </para>
+ </para>
+ <para>
+ Other errors may be returned from the parser for the specific container you're using.
+ </para>
</refsect1>
<refsect1 id="package.configuration.config.config.parseconfig.note">