mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
239 lines
7.3 KiB
XML
239 lines
7.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<reference xml:id="class.domnamespacenode" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>The DOMNameSpaceNode class</title>
|
|
<titleabbrev>DOMNameSpaceNode</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<!-- {{{ DOMNameSpaceNode intro
|
|
<section xml:id="domnamespacenode.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
|
|
</para>
|
|
</section>
|
|
}}} -->
|
|
|
|
<section xml:id="domnamespacenode.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis class="class">
|
|
<ooclass>
|
|
<classname>DOMNameSpaceNode</classname>
|
|
</ooclass>
|
|
|
|
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnamespacenode.props.nodename">nodeName</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type class="union"><type>string</type><type>null</type></type>
|
|
<varname linkend="domnamespacenode.props.nodevalue">nodeValue</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>int</type>
|
|
<varname linkend="domnamespacenode.props.nodetype">nodeType</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>string</type>
|
|
<varname linkend="domnamespacenode.props.prefix">prefix</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type class="union"><type>string</type><type>null</type></type>
|
|
<varname linkend="domnamespacenode.props.localname">localName</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type class="union"><type>string</type><type>null</type></type>
|
|
<varname linkend="domnamespacenode.props.namespaceuri">namespaceURI</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type>bool</type>
|
|
<varname linkend="domnamespacenode.props.isconnected">isConnected</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type class="union"><type>DOMDocument</type><type>null</type></type>
|
|
<varname linkend="domnamespacenode.props.ownerdocument">ownerDocument</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type class="union"><type>DOMNode</type><type>null</type></type>
|
|
<varname linkend="domnamespacenode.props.parentnode">parentNode</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<modifier>readonly</modifier>
|
|
<type class="union"><type>DOMElement</type><type>null</type></type>
|
|
<varname linkend="domnamespacenode.props.parentelement">parentElement</varname>
|
|
</fieldsynopsis>
|
|
|
|
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domnamespacenode')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DOMNameSpaceNode'])">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
|
|
</section>
|
|
|
|
<!-- {{{ DOMNameSpaceNode properties -->
|
|
<section xml:id="domnamespacenode.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="domnamespacenode.props.nodename">
|
|
<term><varname>nodeName</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The qualified name of this node.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.nodevalue">
|
|
<term><varname>nodeValue</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The namespace URI declared by this node, or &null; if the empty namespace.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.nodetype">
|
|
<term><varname>nodeType</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The type of the node. In this case it returns
|
|
<link linkend="dom.constants">
|
|
<constant>XML_NAMESPACE_DECL_NODE</constant>
|
|
</link>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.prefix">
|
|
<term><varname>prefix</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The namespace prefix declared by this node.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.localname">
|
|
<term><varname>localName</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The local part of the qualified name of this node.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.namespaceuri">
|
|
<term><varname>namespaceURI</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The namespace URI declared by this node, or &null; if it is unspecified.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.isconnected">
|
|
<term><varname>isConnected</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Whether the node is connected to a document.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.ownerdocument">
|
|
<term><varname>ownerDocument</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The <classname>DOMDocument</classname> object associated with this node,
|
|
or &null; if this node is a <classname>DOMDocument</classname>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.parentnode">
|
|
<term><varname>parentNode</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The parent of this node.
|
|
If there is no such node, this returns &null;.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="domnamespacenode.props.parentelement">
|
|
<term><varname>parentElement</varname></term>
|
|
<listitem>
|
|
<para>
|
|
The parent element of this node.
|
|
If there is no such element, this returns &null;.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<section role="changelog">
|
|
&reftitle.changelog;
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>8.3.0</entry>
|
|
<entry>
|
|
Properties <property>DOMNameSpaceNode::$parentElement</property>, and
|
|
<property>DOMNameSpaceNode::$isConnected</property> have been added.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</section>
|
|
|
|
</partintro>
|
|
|
|
&reference.dom.entities.domnamespacenode;
|
|
|
|
</reference>
|
|
<!-- 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:"~/.phpdoc/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
|
|
-->
|