Files
php-doc-ru/reference/dom/domxpath.xml
2024-10-25 09:41:08 +03:00

129 lines
3.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 0185cc34ca3528205e3bda346a4d907c28a57bc5 Maintainer: aur Status: ready -->
<!-- Reviewed: no -->
<reference xml:id="class.domxpath" 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>Класс DOMXPath</title>
<titleabbrev>DOMXPath</titleabbrev>
<partintro>
<!-- {{{ DOMXPath intro -->
<section xml:id="domxpath.intro">
&reftitle.intro;
<para>
Поддерживает XPath 1.0
</para>
</section>
<!-- }}} -->
<section xml:id="domxpath.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooclass>
<classname>DOMXPath</classname>
</ooclass>
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
<type>DOMDocument</type>
<varname linkend="domxpath.props.document">document</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
<varname linkend="domxpath.props.registernodenamespaces">registerNodeNamespaces</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domxpath')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='DOMXPath'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domxpath')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DOMXPath'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ DOMXPath properties -->
<section xml:id="domxpath.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="domxpath.props.document">
<term><varname>document</varname></term>
<listitem>
<para/>
</listitem>
</varlistentry>
<varlistentry xml:id="domxpath.props.registernodenamespaces">
<term><varname>registerNodeNamespaces</varname></term>
<listitem>
<para>Если установлено значение &true;, пространства имён регистрируются в узле.</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.4.0</entry>
<entry>
Теперь невозможно клонировать объект <classname>DOMXPath</classname>.
Это приведёт к выбрасыванию исключения.
До версии PHP 8.4.0 это приводило к появлению непригодного для использования объекта.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Добавлено свойство <varname>registerNodeNamespaces</varname>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>
&reference.dom.entities.domxpath;
</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
-->