svn: /phpdoc/tr/trunk/reference/ dom/domattr/construct.xml dom/domattr/isid.xml dom/domdocument/construct.xml dom/domdocument/createelement.xml dom/setup.xml errorfunc/book.xml
[email protected] (Nilgün Belma Bugüner)
| Newsgroups | php.doc.tr |
|---|---|
| Message-ID | <[email protected]> |
nilgun Sun, 30 Sep 2018 11:14:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=345739
Log:
update for sync with English docs.
Changed paths:
U phpdoc/tr/trunk/reference/dom/domattr/construct.xml
U phpdoc/tr/trunk/reference/dom/domattr/isid.xml
U phpdoc/tr/trunk/reference/dom/domdocument/construct.xml
U phpdoc/tr/trunk/reference/dom/domdocument/createelement.xml
U phpdoc/tr/trunk/reference/dom/setup.xml
U phpdoc/tr/trunk/reference/errorfunc/book.xml
svn-diffs-345739.txt
(text/x-diff, 8.1 KB)
Modified: phpdoc/tr/trunk/reference/dom/domattr/construct.xml
===================================================================
--- phpdoc/tr/trunk/reference/dom/domattr/construct.xml 2018-09-30 10:02:55 UTC (rev 345738)
+++ phpdoc/tr/trunk/reference/dom/domattr/construct.xml 2018-09-30 11:14:38 UTC (rev 345739)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: haluk Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: haluk Status: ready -->
<refentry xml:id='domattr.construct' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMAttr::__construct</refname>
@@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <methodname>DOMAttr::__construct</methodname>
+ <modifier>public</modifier> <methodname>DOMAttr::__construct</methodname>
<methodparam><type>string</type><parameter>isim</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>değer</parameter></methodparam>
</methodsynopsis>
Modified: phpdoc/tr/trunk/reference/dom/domattr/isid.xml
===================================================================
--- phpdoc/tr/trunk/reference/dom/domattr/isid.xml 2018-09-30 10:02:55 UTC (rev 345738)
+++ phpdoc/tr/trunk/reference/dom/domattr/isid.xml 2018-09-30 11:14:38 UTC (rev 345739)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: haluk Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: haluk Status: ready -->
<refentry xml:id='domattr.isid' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMAttr::isId</refname>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type><methodname>DOMAttr::isId</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>DOMAttr::isId</methodname>
<void/>
</methodsynopsis>
<para>
Modified: phpdoc/tr/trunk/reference/dom/domdocument/construct.xml
===================================================================
--- phpdoc/tr/trunk/reference/dom/domdocument/construct.xml 2018-09-30 10:02:55 UTC (rev 345738)
+++ phpdoc/tr/trunk/reference/dom/domdocument/construct.xml 2018-09-30 11:14:38 UTC (rev 345739)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 330543 Maintainer: nilgun Status: ready -->
<refentry xml:id='domdocument.construct' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMDocument::__construct</refname>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <methodname>DOMDocument::__construct</methodname>
+ <modifier>public</modifier> <methodname>DOMDocument::__construct</methodname>
<methodparam choice="opt"><type>string</type><parameter>sürüm</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>kodlama</parameter></methodparam>
</methodsynopsis>
Modified: phpdoc/tr/trunk/reference/dom/domdocument/createelement.xml
===================================================================
--- phpdoc/tr/trunk/reference/dom/domdocument/createelement.xml 2018-09-30 10:02:55 UTC (rev 345738)
+++ phpdoc/tr/trunk/reference/dom/domdocument/createelement.xml 2018-09-30 11:14:38 UTC (rev 345739)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 339438 Maintainer: nilgun Status: ready -->
<refentry xml:id="domdocument.createelement" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMDocument::createElement</refname>
@@ -9,10 +9,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>DOMElement</type><methodname>DOMDocument::createElement</methodname>
+ <modifier>public</modifier> <type>DOMElement</type><methodname>DOMDocument::createElement</methodname>
<methodparam><type>string</type><parameter>isim</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>değer</parameter></methodparam>
- </methodsynopsis>
+ </methodsynopsis>
<para>
Yeni bir <classname>DOMElement</classname> nesnesi oluşturur.
&dom.node.inserted;
@@ -34,10 +34,13 @@
<term><parameter>değer</parameter></term>
<listitem>
<para>
- Elemanın değeri. Öntanımlı olarak boş eleman oluşturulur. Değeri daha
- sonra <literal>DOMElement->nodeValue</literal> özelliğine de
- atayabilirsiniz.
+ Elemanın değeri. Öntanımlı olarak boş eleman oluşturulur.
</para>
+ <para>
+ < ve > öğe başvuruları öncelenmedikçe değer birebir kulllanılır.
+ Dikkat: & öncelenmek sorundadır, aksi takdirde öğe başvurusunun
+ başlangıç karakteri olarak ele alınmaz. Ayrıca, " karakteri öncelenmez.
+ </para>
</listitem>
</varlistentry>
</variablelist>
@@ -75,11 +78,10 @@
<?php
$dom = new DOMDocument('1.0', 'utf-8');
-
$element = $dom->createElement('test', 'This is the root element!');
// Oluşturduğumuz elemanı belge elemanı yapalım
-$dom->appendChild($element);
+$element->appendChild($element_ns);
echo $dom->saveXML();
?>
@@ -94,7 +96,40 @@
</screen>
</example>
</para>
+ <para>
+ <example>
+ <title>- <parameter>değer</parameter> olarak öncelenmemiş & içeren metin kullanmak</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$dom = new DOMDocument('1.0', 'utf-8');
+$element = $dom->createElement('foo', 'sen & ben');
+$dom->appendChild($element);
+echo $dom->saveXML();
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+Warning: DOMDocument::createElement(): unterminated entity reference ben in /in/BjTCg on line 4
+<?xml version="1.0" encoding="utf-8"?>
+<foo/>
+]]>
+ </screen>
+ </example>
+ </para>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ <parameter>değer</parameter> öncelen<emphasis>ME</emphasis>yecektir.
+ <emphasis>Önceleme destekli</emphasis> bir metin düğümü oluşturmak
+ istiyorsanız <methodname>DOMDocument::createTextNode</methodname> kullanın.
+ </para>
+ </note>
+ </refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/tr/trunk/reference/dom/setup.xml
===================================================================
--- phpdoc/tr/trunk/reference/dom/setup.xml 2018-09-30 10:02:55 UTC (rev 345738)
+++ phpdoc/tr/trunk/reference/dom/setup.xml 2018-09-30 11:14:38 UTC (rev 345739)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 300860 Maintainer: nilgun Status: ready -->
<chapter xml:id="dom.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
@@ -7,7 +7,7 @@
<!-- {{{ Requirements -->
<section xml:id="dom.requirements">
&reftitle.required;
- &no.requirement;
+ &libxml.required;
</section>
<!-- }}} -->
@@ -14,7 +14,10 @@
<!-- {{{ Installation -->
<section xml:id="dom.installation">
&reftitle.install;
- &no.install;
+ <para>
+ &installation.enabled.disable;
+ <option role="configure">--disable-dom</option>
+ </para>
</section>
<!-- }}} -->
Modified: phpdoc/tr/trunk/reference/errorfunc/book.xml
===================================================================
--- phpdoc/tr/trunk/reference/errorfunc/book.xml 2018-09-30 10:02:55 UTC (rev 345738)
+++ phpdoc/tr/trunk/reference/errorfunc/book.xml 2018-09-30 11:14:38 UTC (rev 345739)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: nilgun Status: ready -->
-<!-- Purpose: basic.php -->
-<!-- Membership: core -->
+<!-- EN-Revision: 330340 Maintainer: nilgun Status: ready -->
<book xml:id="book.errorfunc" xmlns="http://docbook.org/ns/docbook">
+ <?phpdoc extension-membership="core" ?>
<title>Hata İşleme ve Günlükleme</title>
<titleabbrev>Hata İşleme</titleabbrev>