From d0bf62af12962881484b4c45bc56ccb1fb619f7a Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sat, 23 Aug 2008 17:19:47 +0000 Subject: [PATCH] Upgrade to the new-oo-style git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265374 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/libxml/book.xml | 3 +- reference/libxml/libxmlerror.xml | 161 +++++++++++++++++++++++++++++++ reference/libxml/reference.xml | 46 +-------- 3 files changed, 164 insertions(+), 46 deletions(-) create mode 100644 reference/libxml/libxmlerror.xml diff --git a/reference/libxml/book.xml b/reference/libxml/book.xml index cf9e61d733..c1f11fb30d 100644 --- a/reference/libxml/book.xml +++ b/reference/libxml/book.xml @@ -1,5 +1,5 @@ - + @@ -21,6 +21,7 @@ &reference.libxml.setup; &reference.libxml.constants; + &reference.libxml.libxmlerror; &reference.libxml.reference; diff --git a/reference/libxml/libxmlerror.xml b/reference/libxml/libxmlerror.xml new file mode 100644 index 0000000000..cfd708763d --- /dev/null +++ b/reference/libxml/libxmlerror.xml @@ -0,0 +1,161 @@ + + + + + The libXMLError class + libXMLError + + + + +
+ &reftitle.intro; + + Contains various informations about errors thrown by libxml. + +
+ + +
+ &reftitle.classsynopsis; + + + + libXMLError + + + + + libXMLError + + + + + Properties + + public + int + level + + + public + int + code + + + public + int + column + + + public + string + message + + + public + string + file + + + public + int + line + + + +
+ + +
+ &reftitle.properties; + + + level + + + the severity of the error (one of the following constants: + LIBXML_ERR_WARNING, + LIBXML_ERR_ERROR or + LIBXML_ERR_FATAL) + + + + + code + + + The error's code. + + + + + column + + + The column where the error occurred. + + + + This property isn't entirely implemented in libxml and therefore + 0 is often returned. + + + + + + message + + + The error message, if any. + + + + + file + + The filename, or empty if the XML was loaded from a string. + + + + line + + + The line where the error occurred. + + + + +
+ + +
+ +
+ + + diff --git a/reference/libxml/reference.xml b/reference/libxml/reference.xml index 017a8a0eb8..2734395292 100755 --- a/reference/libxml/reference.xml +++ b/reference/libxml/reference.xml @@ -1,53 +1,9 @@ - + libxml &Functions; - - - -
- &reftitle.classes; - -
- <classname>LibXMLError</classname> -
- &reftitle.properties; - - - code - the error's code - - - - column - the column where the error occurred. Please note that - this property isn't entirely implemented in libxml and therefore - 0 is often returned. - - - - file - the filename, or empty if the XML was loaded from a string - - - - level - the severity of the error (one of the following constants: - LIBXML_ERR_WARNING, - LIBXML_ERR_ERROR or - LIBXML_ERR_FATAL) - - - - line - the line where the error occurred - - - message - the error message - - -
-
-
- -
&reference.libxml.entities.functions;