mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-28 19:02:10 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@270263 c90b9560-bf6c-de11-be94-00142212c4b1
293 lines
9.3 KiB
XML
293 lines
9.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.4 $ -->
|
|
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.domnode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>La classe DOMNode</title>
|
|
<titleabbrev>DOMNode</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<section xml:id="domnode.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis>
|
|
<ooclass><classname>DOMNode</classname></ooclass>
|
|
|
|
<!-- {{{ Class synopsis -->
|
|
<classsynopsisinfo>
|
|
<ooclass>
|
|
<classname>DOMNode</classname>
|
|
</ooclass>
|
|
|
|
</classsynopsisinfo>
|
|
<!-- }}} -->
|
|
|
|
<classsynopsisinfo role="comment">Propriétés</classsynopsisinfo>
|
|
<!-- If the property is documented below (xml:id=domnode.props) use this -->
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.nodename">nodeName</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.nodevalue">nodeValue</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>int</type>
|
|
<varname linkend="domnode.props.nodetype">nodeType</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNode</type>
|
|
<varname linkend="domnode.props.parentnode">parentNode</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNodeList</type>
|
|
<varname linkend="domnode.props.childnodes">childNodes</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNode</type>
|
|
<varname linkend="domnode.props.firstchild">firstChild</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNode</type>
|
|
<varname linkend="domnode.props.lastchild">lastChild</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNode</type>
|
|
<varname linkend="domnode.props.previoussibling">previousSibling</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNode</type>
|
|
<varname linkend="domnode.props.nextsibling">nextSibling</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMNamedNodeMap</type>
|
|
<varname linkend="domnode.props.attributes">attributes</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>DOMDocument</type>
|
|
<varname linkend="domnode.props.ownerdocument">ownerDocument</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.namespaceuri">namespaceURI</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.prefix">prefix</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.localname">localName</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.baseuri">baseURI</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnode.props.textcontent">textContent</varname>
|
|
</fieldsynopsis>
|
|
<classsynopsisinfo role="comment">Méthodes</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domnode')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
|
|
</section>
|
|
|
|
<!-- {{{ DOMNode properties -->
|
|
<section xml:id="domnode.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="domnode.props.nodename">
|
|
<term><varname>nodeName</varname></term>
|
|
<listitem>
|
|
<para>Retourne le nom, le plus précis, pour le type de noeud courant</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.nodevalue">
|
|
<term><varname>nodeValue</varname></term>
|
|
<listitem>
|
|
<para>La valeur du noeud, suivant son type</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.nodetype">
|
|
<term><varname>nodeType</varname></term>
|
|
<listitem>
|
|
<para>Récupère le type du noeud. Une des constantes XML_xxx_NODE</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.parentnode">
|
|
<term><varname>parentNode</varname></term>
|
|
<listitem>
|
|
<para>Le parent de ce noeud</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.childnodes">
|
|
<term><varname>childNodes</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Un <classname>DOMNodeList</classname> qui contient tous les fils
|
|
de ce noeud. S'il n'y a aucun fils, ce sera un
|
|
<classname>DOMNodeList</classname> vide.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.firstchild">
|
|
<term><varname>firstChild</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Le premier fils de ce noeud. S'il n'y a aucun noeud de ce type,
|
|
retourne &null;.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.lastchild">
|
|
<term><varname>lastChild</varname></term>
|
|
<listitem>
|
|
<para>Le dernier fils de ce noeud. S'il n'y a aucun noeud de ce type,
|
|
retourne &null;.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.previoussibling">
|
|
<term><varname>previousSibling</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Le noeud précédant immédiatement ce noeud. S'il n'y a aucun
|
|
noeud, retourne &null;.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.nextsibling">
|
|
<term><varname>nextSibling</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Le noeud suivant immédiatement ce noeud. S'il n'y a aucun noeud,
|
|
retourne &null;.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.attributes">
|
|
<term><varname>attributes</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Un <classname>DOMNamedNodeMap</classname> contenant les attributs
|
|
de ce noeud (si c'est un<classname>DOMElement</classname>)
|
|
ou &null; sinon.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.ownerdocument">
|
|
<term><varname>ownerDocument</varname></term>
|
|
<listitem>
|
|
<para>L'objet <classname>DOMDocument</classname> associé avec ce noeud.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.namespaceuri">
|
|
<term><varname>namespaceURI</varname></term>
|
|
<listitem>
|
|
<para>L'espace de nom de l'URL pour ce noeud, ou &null; s'il n'est pas
|
|
spécifié.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.prefix">
|
|
<term><varname>prefix</varname></term>
|
|
<listitem>
|
|
<para>Le préfixe de l'espace de nom de ce noeud, ou &null; s'il n'est pas
|
|
spécifié.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.localname">
|
|
<term><varname>localName</varname></term>
|
|
<listitem>
|
|
<para>Retourne la partie locale du nom qualifié du noeud.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.baseuri">
|
|
<term><varname>baseURI</varname></term>
|
|
<listitem>
|
|
<para>
|
|
La base de l'URL absolue du noeud, ou &null; si l'implémentation
|
|
n'a pas réussi à obtenir l'URL absolue.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnode.props.textcontent">
|
|
<term><varname>textContent</varname></term>
|
|
<listitem>
|
|
<para>Cet attribut retourne le contenu texte de ce noeud et de ces descendants.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ See also -->
|
|
<section role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><link xlink:href="&url.spec.dom3.node;">spécification W3C</link></member>
|
|
</simplelist>
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
</partintro>
|
|
|
|
&reference.dom.entities.domnode;
|
|
|
|
</phpdoc:classref>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
--> |