com doc/tr: update for sync with English docs.: reference/reflection/reflectionclass/getconstants.xml reference/reflection/reflectionclass/getreflectionconstant.xml reference/reflection/reflectionclass/getreflectionconstants.xml reference/reflection/reflectionclassconstant.xml
[email protected] (Nilgün Belma Bugüner) Sat, 02 Jan 2021 08:31:08 +0000
| Newsgroups | php.doc.tr |
|---|---|
| Message-ID | <[email protected]> |
Commit: 4407458b659616d1e0d5d47bf3ffef320797f04c Author: Nilgün Belma Bugüner <[email protected]> Sat, 2 Jan 2021 11:31:08 +0300 Parents: 9d4d22ae97af14c364f370bc2c53c5921bd59b43 Branches: master Link: http://git.php.net/?p=doc/tr.git;a=commitdiff;h=4407458b659616d1e0d5d47bf3ffef320797f04c Log: update for sync with English docs. Changed paths: M reference/reflection/reflectionclass/getconstants.xml A reference/reflection/reflectionclass/getreflectionconstant.xml A reference/reflection/reflectionclass/getreflectionconstants.xml M reference/reflection/reflectionclassconstant.xml
diff_4407458b659616d1e0d5d47bf3ffef320797f04c.txt
(text/plain, 11.8 KB)
diff --git a/reference/reflection/reflectionclass/getconstants.xml b/reference/reflection/reflectionclass/getconstants.xml
index 72439bc7..bd791e96 100644
--- a/reference/reflection/reflectionclass/getconstants.xml
+++ b/reference/reflection/reflectionclass/getconstants.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: nilgun Status: ready -->
<refentry xml:id="reflectionclass.getconstants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionClass::getConstants</refname>
@@ -11,10 +11,10 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getConstants</methodname>
- <void />
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
- Sınıfın tanımlı sabitlerini döndürür.
+ Görünürlüğüne aldırmadan, Sınıfın tanımlı sabitlerinin tamamını döndürür.
</para>
&warn.undocumented.func;
@@ -23,16 +23,50 @@
<refsect1 role="parameters">
&reftitle.parameters;
- &no.function.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>filter</parameter></term>
+ <listitem>
+ <para>
+ Seçimlik düzgeç. İstenen sabitin görünürlüklerini süzmek için.
+ <link linkend="reflectionclassconstant.constants.modifiers"
+ >ReflectionClassConstant sabitleri</link> kullanılarak yapılandırılır ve
+ tüm sabit görünürlükleri öntanımlanır.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Sabitleri içeren bir dizi.
+ Anahtarların sabit isimlerini, değerlerin sabit değerlerini içerdiği bir dizi döner.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>filter</parameter> eklendi.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
diff --git a/reference/reflection/reflectionclass/getreflectionconstant.xml b/reference/reflection/reflectionclass/getreflectionconstant.xml
new file mode 100644
index 00000000..91be96a9
--- /dev/null
+++ b/reference/reflection/reflectionclass/getreflectionconstant.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 831603509b57d4e96b0a69af0d0e15ce3e6b5423 Maintainer: nilgun Status: ready -->
+<refentry xml:id="reflectionclass.getreflectionconstant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>ReflectionClass::getReflectionConstant</refname>
+ <refpurpose>Bir sınıfın sabiti için <classname>ReflectionClassConstant</classname> sınıfı</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type class="union"><type>ReflectionClassConstant</type><type>false</type></type><methodname>ReflectionClass::getReflectionConstant</methodname>
+ <methodparam><type>string</type><parameter>name</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Bir sınıfın özelliği için bir <classname>ReflectionClassConstant</classname>
+ döndürür.
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>name</parameter></term>
+ <listitem>
+ <para>
+ Sınıf sabitinin ismi.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Bir <classname>ReflectionClassConstant</classname> döner,
+ &return.falseforfailure;.
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>ReflectionClass::getReflectionConstants</methodname></member>
+ <member><classname>ReflectionClassConstant</classname></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- 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
+-->
diff --git a/reference/reflection/reflectionclass/getreflectionconstants.xml b/reference/reflection/reflectionclass/getreflectionconstants.xml
new file mode 100644
index 00000000..e3791a7d
--- /dev/null
+++ b/reference/reflection/reflectionclass/getreflectionconstants.xml
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: nilgun Status: ready -->
+<refentry xml:id="reflectionclass.getreflectionconstants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>ReflectionClass::getReflectionConstants</refname>
+ <refpurpose>Sınıf sabitlerini döndürür</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getReflectionConstants</methodname>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam>
+ </methodsynopsis>
+ <para>
+ Yansıtılan sabitleri döndürür.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>filter</parameter></term>
+ <listitem>
+ <para>
+ Seçimlik düzgeç. İstenen sabitin görünürlüklerini süzmek için.
+ <link linkend="reflectionclassconstant.constants.modifiers"
+ >ReflectionClassConstant sabitleri</link> kullanılarak yapılandırılır ve
+ tüm sabit görünürlükleri öntanımlanır.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ <classname>ReflectionClassConstant</classname> nesnelerini içeren bir dizi
+ döner.
+ </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>filter</parameter> eklendi.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <example xml:id="reflectionclass.getreflectionconstants.example">
+ <title>- Temel <function>ReflectionClass::getReflectionConstants</function> örneği</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+class Foo {
+ public const FOO = 1;
+ protected const BAR = 2;
+ private const BAZ = 3;
+}
+
+$foo = new Foo();
+
+$reflect = new ReflectionClass($foo);
+$consts = $reflect->getReflectionConstants();
+
+foreach ($consts as $const) {
+ print $const->getName() . "\n";
+}
+
+var_dump($consts);
+
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+FOO
+BAR
+BAZ
+array(3) {
+ [0]=>
+ object(ReflectionClassConstant)#3 (2) {
+ ["name"]=>
+ string(3) "FOO"
+ ["class"]=>
+ string(3) "Foo"
+ }
+ [1]=>
+ object(ReflectionClassConstant)#4 (2) {
+ ["name"]=>
+ string(3) "BAR"
+ ["class"]=>
+ string(3) "Foo"
+ }
+ [2]=>
+ object(ReflectionClassConstant)#5 (2) {
+ ["name"]=>
+ string(3) "BAZ"
+ ["class"]=>
+ string(3) "Foo"
+ }
+}
+]]>
+ </screen>
+ </example>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>ReflectionClass::getReflectionConstant</methodname></member>
+ <member><classname>ReflectionClassConstant</classname></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+<!-- 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
+-->
diff --git a/reference/reflection/reflectionclassconstant.xml b/reference/reflection/reflectionclassconstant.xml
index 4b29cf03..986c08b1 100644
--- a/reference/reflection/reflectionclassconstant.xml
+++ b/reference/reflection/reflectionclassconstant.xml
@@ -83,8 +83,8 @@
<term><varname>name</varname></term>
<listitem>
<para>
- Name of the class constant. Read-only, throws
- <classname>ReflectionException</classname> in attempt to write.
+ Sınıf sabitinin ismi. Salt-okunur olup, yazılmaya çalışılırsa
+ <classname>ReflectionException</classname> istisnası oluşur.
</para>
</listitem>
</varlistentry>
@@ -92,8 +92,8 @@
<term><varname>class</varname></term>
<listitem>
<para>
- Name of the class where the class constant is defined. Read-only, throws
- <classname>ReflectionException</classname> in attempt to write.
+ Sınıf sabitini tanımlandığı yerin ismi. Salt-okunur olup, yazılmaya
+ çalışılırsa <classname>ReflectionException</classname> istisnası oluşur.
</para>
</listitem>
</varlistentry>
@@ -105,15 +105,15 @@
<section xml:id="reflectionclassconstant.constants">
&reftitle.constants;
<section xml:id="reflectionclassconstant.constants.modifiers">
- <title>ReflectionClassConstant Modifiers</title>
+ <title>ReflectionClassConstant Değiştiricileri</title>
<variablelist>
<varlistentry xml:id="reflectionclassconstant.constants.is-public">
<term><constant>ReflectionClassConstant::IS_PUBLIC</constant></term>
<listitem>
<para>
- Indicates <link linkend="language.oop5.visibility">public</link>
- constants.
+ Sabitin <link linkend="language.oop5.visibility">public</link>
+ olup olmadığını belirtir.
</para>
</listitem>
</varlistentry>
@@ -122,8 +122,8 @@
<term><constant>ReflectionClassConstant::IS_PROTECTED</constant></term>
<listitem>
<para>
- Indicates <link linkend="language.oop5.visibility">protected</link>
- constants.
+ Sabitin <link linkend="language.oop5.visibility">protected</link>
+ olup olmadığını belirtir.
</para>
</listitem>
</varlistentry>
@@ -132,8 +132,8 @@
<term><constant>ReflectionClassConstant::IS_PRIVATE</constant></term>
<listitem>
<para>
- Indicates <link linkend="language.oop5.visibility">private</link>
- constants.
+ Sabitin <link linkend="language.oop5.visibility">private</link>
+ olup olmadığını belirtir.
</para>
</listitem>
</varlistentry>