<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.libxml.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'class.libxmlerror.php',
    1 => 'LibXMLError',
    2 => 'La classe LibXMLError',
  ),
  'up' => 
  array (
    0 => 'book.libxml.php',
    1 => 'libxml',
  ),
  'prev' => 
  array (
    0 => 'libxml.constants.php',
    1 => 'Constantes pr&eacute;-d&eacute;finies',
  ),
  'next' => 
  array (
    0 => 'ref.libxml.php',
    1 => 'Fonctions libxml',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/libxml/libxmlerror.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.libxmlerror" class="reference">
 <h1 class="title">La classe LibXMLError</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7, PHP 8)</p>
 

  <div class="section" id="libxmlerror.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Contient diverses informations sur les erreurs émises par la
    bibliothèque libxml. Les codes erreurs sont décrits dans la
    <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xmlerror.html" class="link external">&raquo;&nbsp;documentation officielle de l&#039;API xmlError</a>.
   </p>
  </div>

 
  <div class="section" id="libxmlerror.synopsis">
   <h2 class="title">Synopsis de la classe</h2>
 

   <div class="classsynopsis"><div class="classsynopsisinfo">
    
     <span class="modifier">class</span> <strong class="classname"><strong class="classname">LibXMLError</strong></strong>
     {</div>
 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Propriétés */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.level">$<var class="varname">level</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.code">$<var class="varname">code</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.column">$<var class="varname">column</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.message">$<var class="varname">message</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.file">$<var class="varname">file</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.line">$<var class="varname">line</var></a></var>;</div>

   }</div>

  </div>
 

  <div class="section" id="libxmlerror.props">
   <h2 class="title">Propriétés</h2>
   <dl>
    
     <dt id="libxmlerror.props.level"><var class="varname">level</var></dt>
     <dd>
      <p class="para">
       la sévérité de l&#039;erreur (une des constantes suivantes :
       <strong><code><a href="libxml.constants.php#constant.libxml-err-warning">LIBXML_ERR_WARNING</a></code></strong>,
       <strong><code><a href="libxml.constants.php#constant.libxml-err-error">LIBXML_ERR_ERROR</a></code></strong> ou
       <strong><code><a href="libxml.constants.php#constant.libxml-err-fatal">LIBXML_ERR_FATAL</a></code></strong>)
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.code"><var class="varname">code</var></dt>
     <dd>
      <p class="para">
       Le code de l&#039;erreur.
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.column"><var class="varname">column</var></dt>
     <dd>
      <p class="para">
       La colonne dans laquelle l&#039;erreur est survenue.
      </p>
      <blockquote class="note"><p><strong class="note">Note</strong>: 
       <p class="para">
        Cette propriété n&#039;est pas totalement implémentée par la
        bibliothèque libxml ; aussi, <code class="literal">0</code> est souvent
        retourné.
       </p>
      </p></blockquote>
     </dd>
    
    
     <dt id="libxmlerror.props.message"><var class="varname">message</var></dt>
     <dd>
      <p class="para">
       Le message d&#039;erreur, s&#039;il y en a.
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.file"><var class="varname">file</var></dt>
     <dd>
      <p class="para">
       Le nom du fichier, ou vide si le XML a été chargé depuis une
       chaîne.
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.line"><var class="varname">line</var></dt>
     <dd>
      <p class="para">
       La ligne depuis laquelle l&#039;erreur est survenue.
      </p>
     </dd>
    
   </dl>
  </div>

 
 </div>
 
</div>
<?php manual_footer($setup); ?>