mirror of
https://github.com/php/doc-tr.git
synced 2026-03-23 23:02:09 +01:00
update for sync with English docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 5d1673b7a0e1a941111595d25cda663d8667a015 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: e5bdb2471a1bb203b5b80a5e2797a9147ea31a07 Maintainer: nilgun Status: ready -->
|
||||
<!-- CREDITS: tpug, sezer -->
|
||||
<sect1 xml:id="language.oop5.interfaces" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Nesne Arayüzleri</title>
|
||||
@@ -64,16 +64,10 @@
|
||||
</para>
|
||||
<warning>
|
||||
<para>
|
||||
Bir sınıf, yöntem bildirimleri aynı olan aynı isimli iki arayüzü
|
||||
gerçekleyebilir.
|
||||
</para>
|
||||
</warning>
|
||||
<warning>
|
||||
<para>
|
||||
Bir arayüzü gerçekleyen bir sınıf, bağımsız değişkenleri için arayüzdekinden
|
||||
farklı bir ad kullanabilir. Bununla birlikte, PHP 8.0'dan itibaren dil,
|
||||
<link linkend="functions.named-arguments">isimli bağımsız değişkenleri</link>
|
||||
desteklemektedir, bu da çağrıcıların arayüzdeki
|
||||
Bir arayüzü gerçekleyen bir sınıf, bağımsız değişkenleri için
|
||||
arayüzdekinden farklı bir ad kullanabilir. Bununla birlikte, PHP 8.0'dan
|
||||
itibaren dil, <link linkend="functions.named-arguments">isimli bağımsız
|
||||
değişkenleri</link> desteklemektedir, bu da çağrıcıların arayüzdeki
|
||||
bağımsız değişken adına güvenebileceği anlamına gelir. Bu nedenle,
|
||||
geliştiricilerin gerçeklenen arayüzle aynı bağımsız değişken adlarını
|
||||
kullanmaları şiddetle tavsiye edilir.
|
||||
@@ -87,9 +81,13 @@
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
Bir sınıf bir arayüzü gerçeklerken, bunu
|
||||
<link linkend="language.oop.lsp">bağımsız değişken adı ve sırası arayüzle
|
||||
uyumlu</link> yöntemler kullanarak yapmalıdır.
|
||||
Bir sınıf bir arayüzü gerçeklerken, bunu <link
|
||||
linkend="language.oop.lsp">bağımsız değişken adı ve sırası arayüzle
|
||||
uyumlu</link> yöntemler kullanarak yapmalıdır. Bir sınıf, aynı adlı
|
||||
yöntem bildiren birden çok arayüz gerçekleyebilir. Bu durumda gerçeklenim,
|
||||
tüm arayüzler için <link linkend="language.oop.lsp">bağımsız değişken adı
|
||||
ve sırası uyumluk kurallarına</link> uygun olmalıdır. Böylece, <link
|
||||
linkend="language.oop5.variance">özgüllük</link> uygulanabilir olur.
|
||||
</para>
|
||||
</note>
|
||||
</sect2>
|
||||
@@ -193,6 +191,33 @@ class D implements B
|
||||
}
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<example xml:id="language.oop5.interfaces.examples.variance.multiple.interfaces">
|
||||
<title>- Çoklu arayüzlerle özgüllük uyumluluğu</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class Foo {}
|
||||
class Bar extends Foo {}
|
||||
|
||||
interface A {
|
||||
public function myfunc(Foo $arg): Foo;
|
||||
}
|
||||
|
||||
interface B {
|
||||
public function myfunc(Bar $arg): Bar;
|
||||
}
|
||||
|
||||
class MyClass implements A, B
|
||||
{
|
||||
public function myfunc(Foo $arg): Bar
|
||||
{
|
||||
return new Bar();
|
||||
}
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
@@ -242,12 +242,12 @@ Notice: <dosya> dosyasının 71. satırında __get() ile tanımsız özellik ist
|
||||
<methodsynopsis xml:id="object.call">
|
||||
<modifier>public</modifier> <type>mixed</type><methodname>__call</methodname>
|
||||
<methodparam><type>string</type><parameter>isim</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis xml:id="object.callstatic">
|
||||
<modifier>public static</modifier> <type>mixed</type><methodname>__callStatic</methodname>
|
||||
<methodparam><type>string</type><parameter>isim</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
<para>
|
||||
@@ -262,7 +262,7 @@ Notice: <dosya> dosyasının 71. satırında __get() ile tanımsız özellik ist
|
||||
|
||||
<para>
|
||||
<varname>$isim</varname> bağımsız değişkeni çağrılan yöntemin ismidir.
|
||||
<varname>$bağımsız değişkenler</varname> bağımsız değişkeni ise
|
||||
<varname>$bağımsız_değişkenler</varname> bağımsız değişkeni ise
|
||||
<varname>$isim</varname> adlı yönteme aktarılan bağımsız değişkenleri içeren
|
||||
numararalı bir dizidir.
|
||||
</para>
|
||||
@@ -276,18 +276,18 @@ Notice: <dosya> dosyasının 71. satırında __get() ile tanımsız özellik ist
|
||||
<?php
|
||||
class YöntemSınama
|
||||
{
|
||||
public function __call($isim, $bağımsız değişkenler)
|
||||
public function __call($isim, $bağımsız_değişkenler)
|
||||
{
|
||||
// Bilgi: $isim değeri büyük-küçük harfe duyarlıdır.
|
||||
echo "Nesnenin '$isim' yöntemi çağrılıyor: "
|
||||
. implode(', ', $bağımsız değişkenler). "\n";
|
||||
. implode(', ', $bağımsız_değişkenler). "\n";
|
||||
}
|
||||
|
||||
public static function __callStatic($isim, $bağımsız değişkenler)
|
||||
public static function __callStatic($isim, $bağımsız_değişkenler)
|
||||
{
|
||||
// Bilgi: $isim değeri büyük-küçük harfe duyarlıdır.
|
||||
echo "Statik yöntem '$isim' çağrılıyor: "
|
||||
. implode(', ', $bağımsız değişkenler). "\n";
|
||||
. implode(', ', $bağımsız_değişkenler). "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: afec339bc5b7918baddd9ba3cd02b90f3b423230 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: b6f7d2d0762b52fe81ab510df30e2901fa2ff8ce Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.oop5.traits" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Nitelikler</title>
|
||||
<para>
|
||||
@@ -471,24 +471,28 @@ $örnek = new ÖzellikÖrneği;
|
||||
</programlisting>
|
||||
</example>
|
||||
<para>
|
||||
Bir nitelik bir özellik tanımlarsa sınıf aynı isimde bir özellik (uyumlu
|
||||
- aynı görünürlük ve ilk değer - olmadıkça) tanımlayamaz, aksi takdirde
|
||||
bir hata oluşur.
|
||||
Bir nitelik bir özellik tanımlarsa sınıf aynı isimde bir özelliği uyumlu
|
||||
(aynı görünürlük ve tür, salt okunur değiştirici ve ilk değer) olmadıkça
|
||||
tanımlayamaz, aksi takdirde ölümcül hata oluşur.
|
||||
</para>
|
||||
<example xml:id="language.oop5.traits.properties.conflicts">
|
||||
<title>- Çelişki yaratma örneği</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
trait NitelikliÖzellik {
|
||||
trait ÖzellikliNitelik {
|
||||
public $aynı = true;
|
||||
public $farklı = false;
|
||||
public $farklı1 = false;
|
||||
public bool $farklı2;
|
||||
readonly public bool $farklı3;
|
||||
}
|
||||
|
||||
class ÖzellikÖrneği {
|
||||
use NitelikliÖzellik;
|
||||
class ÖzellikliÖrnek {
|
||||
use ÖzellikliNitelik;
|
||||
public $aynı = true;
|
||||
public $farklı = true; // ölümcül hata
|
||||
public $farklı1 = true; // ölümcül hata
|
||||
public string $farklı2; // ölümcül hata
|
||||
readonly public bool $farklı3; // ölümcül hata
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
@@ -496,6 +500,56 @@ class ÖzellikÖrneği {
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.oop5.traits.constants">
|
||||
<title>&Constants;</title>
|
||||
<para>
|
||||
PHP 8.2.0 itibariyle nitelikler sabitleri de tanımlayabilmektedir.
|
||||
</para>
|
||||
<example xml:id="language.oop5.traits.constants.example">
|
||||
<title>- Sabitlerin Tanımlanması</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
trait SabitliNitelik {
|
||||
public const FLAG_MUTABLE = 1;
|
||||
final public const FLAG_IMMUTABLE = 5;
|
||||
}
|
||||
|
||||
class SabitliÖrnek {
|
||||
use SabitliNitelik;
|
||||
}
|
||||
|
||||
$örnek = new SabitliÖrnek;
|
||||
$örnek::FLAG;
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<para>
|
||||
Bir niteliğin tanımladığı sabiti bir sınıf uyumluluk kurallarına (aynı
|
||||
görünürlük, aynı ilk değer ve aynı sonuç) uymadan aynı isimle tekrar
|
||||
tanımlayamaz, aksi takdirde ölümcül hata oluşur.
|
||||
</para>
|
||||
<example xml:id="language.oop5.traits.constants.conflicts">
|
||||
<title>- Çelişki Çözümleme</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
trait SabitliNitelik {
|
||||
public const FLAG_MUTABLE = 1;
|
||||
final public const FLAG_IMMUTABLE = 5;
|
||||
}
|
||||
|
||||
class SabitliÖrnek {
|
||||
use SabitliNitelik;
|
||||
public const FLAG_IMMUTABLE = 5; // Ölümcül hata
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 346c0bd13f99888108cbefeb9c7c17923cac1a47 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.types.boolean">
|
||||
<title><code>bool</code></title>
|
||||
|
||||
<simpara>
|
||||
En basit türdür. Bir <type>bool</type> ifadenin sonucu &true; veya &false;
|
||||
olan bir doğruluk değeridir.
|
||||
Yalnızca iki değer <type>bool</type> türünde olabilir ve bunlar
|
||||
&true; ve &false; (doğru ve yanlış) olup doğruluk değerleri adını alır.
|
||||
</simpara>
|
||||
|
||||
<sect2 xml:id="language.types.boolean.syntax">
|
||||
@@ -63,10 +63,11 @@ if ($ayırıcı_göster) {
|
||||
|
||||
<simpara>
|
||||
Bir değeri doğrudan <type>bool</type> türüne dönüştürmek için
|
||||
<literal>(bool)</literal> veya <literal>(boolean)</literal> çarpıtmalarını
|
||||
kullanabilirsiniz. Ancak, bir <type>bool</type> bağımsız değişken gerektiren
|
||||
bir işleç, işlev veya denetim yapısı dönüşümün otomatik olarak
|
||||
yapılmasını sağladığından çoğu durumda tür çarpıtma gereksizdir.
|
||||
<literal>(bool)</literal> çarpıtması kullanılabilir. Genelde bu
|
||||
gereksizdir, çünkü mantıksal bir bağlamda kullanılan bir değer otomatik
|
||||
olarak <type>bool</type> türünde bir değer olarak yorumlanır. Daha
|
||||
ayrıntılı bilgi için <link linkend="language.types.type-juggling">Tür
|
||||
Dönüşümü </link> sayfasına bakılabilir.
|
||||
</simpara>
|
||||
|
||||
<simpara>
|
||||
@@ -82,47 +83,48 @@ if ($ayırıcı_göster) {
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="language.types.boolean">bool</link> &false; (kendisi)
|
||||
<link linkend="language.types.boolean">mantıksal</link> &false; (kendisi)
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="language.types.integer">int</link> 0 (sıfır)
|
||||
<link linkend="language.types.integer">tamsayı</link> <literal>0</literal> (sıfır)
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="language.types.float">float</link> 0.0 (sıfır)
|
||||
<link linkend="language.types.float">gerçel</link> <literal>0.0</literal> ve <literal>-0.0</literal> (sıfır)
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
boş <link linkend="language.types.string">dize</link>, ve
|
||||
<link linkend="language.types.string">string</link> "0"
|
||||
boş <link linkend="language.types.string">dizge</link> <literal>""</literal> ve
|
||||
<link linkend="language.types.string">dizge</link>sel <literal>"0"</literal>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
hiç elemanı olmayan <link linkend="language.types.array">array</link>
|
||||
hiç elemanı olmayan <link linkend="language.types.array">dizi</link>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="language.types.null">NULL</link> türü (tanımsız
|
||||
tür olarak <link linkend="language.types.null">NULL</link> (tanımsız
|
||||
değişkenler dahil)
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Özniteliksiz boş öğelerle (yani, ne bir çocuğa ne de bir özniteliğe sahip
|
||||
öğelerle) oluşturulmuş <link linkend="ref.simplexml">SimpleXML</link>
|
||||
nesneleri.
|
||||
<type>bool</type> türüne dönüşmek için <literal>(bool)</literal>
|
||||
çarpıtmasını aşırı yükleyen dahili nesneler. Örneğin, <link
|
||||
linkend="ref.simplexml">SimpleXML</link> nesneleri özniteliksiz boş
|
||||
elemanlardan oluşturulur.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
Bunların dışında kalan tüm değerler &true; olarak ele alınır
|
||||
Bunların dışında kalan tüm değerler &true; olarak ele alınır
|
||||
(<link linkend="language.types.resource">resource</link> türler ve
|
||||
<constant>NAN</constant> dahil).
|
||||
</para>
|
||||
|
||||
@@ -1,934 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: b57f8f256a4773fc09d19733c70ef8816074d12d Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.types.declarations">
|
||||
<title>Tür Bildirimleri</title>
|
||||
|
||||
<para>
|
||||
Tür bildirimleri işlev bağımsız değişkenlerine, dönüş değerlerine ve PHP 7.4.0'dan
|
||||
itibaren sınıf özelliklerine eklenebilir. Değerin çağrı sırasında belirtilen
|
||||
türde olmasını sağlarlar, aksi takdirde bir <classname>TypeError</classname>
|
||||
oluşur.
|
||||
</para>
|
||||
|
||||
<!-- Find better place where to put this note -->
|
||||
<note>
|
||||
<!-- TODO Link to covariance section -->
|
||||
<para>
|
||||
Bir ebeveyn yöntemi geçersiz kılarken, çocuğun yöntemi ebeveynin
|
||||
herhangi bir dönüş türü bildirimiyle eşleşmelidir. Ebeveyn bir dönüş türü
|
||||
tanımlamıyorsa, çocuk yöntem bunu yapabilir.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<sect2 xml:id="language.types.declarations.base">
|
||||
<title>Tekil türler</title>
|
||||
<informaltable>
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Type;</entry>
|
||||
<entry>&Description;</entry>
|
||||
<entry>&Version;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>Sınıf/Arayüz Adı</entry>
|
||||
<entry>
|
||||
Değer, verilen sınıfın veya arabirimin bir örneği olmalıdır.
|
||||
</entry>
|
||||
<entry/>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>self</type></entry>
|
||||
<entry>
|
||||
Değer, tür bildiriminin yapıldığı sınıftan örneklenmiş olmalıdır.
|
||||
Sadece sınıflarda kullanılabilir.
|
||||
</entry>
|
||||
<entry/>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>parent</type></entry>
|
||||
<entry>
|
||||
Değer, tür bildiriminin yapıldığı sınıfın ebeveyninden örneklenmiş
|
||||
olmalıdır. Sadece sınıflarda kullanılabilir.
|
||||
</entry>
|
||||
<entry/>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>array</type></entry>
|
||||
<entry>
|
||||
Değer <type>array</type> türünde olmalıdır.
|
||||
</entry>
|
||||
<entry/>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>callable</type></entry>
|
||||
<entry>
|
||||
Değer <type>callable</type> türünde ve geçerli olmalıdır.
|
||||
Bir sınıf özelliğinin tür bildirimi kullanılamaz.
|
||||
</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>bool</type></entry>
|
||||
<entry>
|
||||
Değer mantıksal bir değer olmalıdır.
|
||||
</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>float</type></entry>
|
||||
<entry>
|
||||
Değer kayan noktalı bir sayı olmalıdır.
|
||||
</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>int</type></entry>
|
||||
<entry>
|
||||
Değer bir tamsayı olmalıdır.
|
||||
</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>string</type></entry>
|
||||
<entry>
|
||||
Değer <type>string</type> türünde olmalıdır.
|
||||
</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>iterable</type></entry>
|
||||
<entry>
|
||||
Değer <classname>Traversable</classname> sınıfının bir örneğı veya
|
||||
dizisi olmalıdır.
|
||||
</entry>
|
||||
<entry>PHP 7.1.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>object</type></entry>
|
||||
<entry>
|
||||
Değer <type>object</type> türünde olmalıdır.
|
||||
</entry>
|
||||
<entry>PHP 7.2.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>mixed</type></entry>
|
||||
<entry>
|
||||
Değer, herhangi bir değer olabilir.
|
||||
</entry>
|
||||
<entry>PHP 8.0.0</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
<warning>
|
||||
<para>
|
||||
Yukarıdaki, sayılarla ifade edilebilen türler için takma adlar
|
||||
desteklenmez. Yapıldığı takdirde bunlar sınıf veya arayüz isimleri
|
||||
olarak değerlendirilir. Örneğin, tür bildirimi olarak
|
||||
<literal>boolean</literal> kullanmak, <type>bool</type> türünde bir
|
||||
değer yerine, <literal>boolean</literal> sınıfının veya arayüzünün
|
||||
örneği olan bir değer gerektirir:
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function test(boolean $param) {}
|
||||
test(true);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning in /in/9YrUX on line 2
|
||||
|
||||
Fatal error: Uncaught TypeError: test(): Argument #1 ($param) must be of type boolean, bool given, called in - on line 3 and defined in -:2
|
||||
Stack trace:
|
||||
#0 -(3): test(true)
|
||||
#1 {main}
|
||||
thrown in - on line 2
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</warning>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.mixed">
|
||||
<title>mixed</title>
|
||||
|
||||
<para>
|
||||
<type>mixed</type> türü
|
||||
<type class="union">
|
||||
<type>object</type><type>resource</type><type>array</type>
|
||||
<type>string</type><type>int</type><type>float</type>
|
||||
<type>bool</type><type>null</type>
|
||||
</type>
|
||||
<link linkend="language.types.declarations.composite.union">birlik
|
||||
türüne</link> eşdeğerdir. PHP 8.0.0 ve sonrasında kullanılabilir.
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
<title>- Temel sınıf türü bildirimi</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class C {}
|
||||
class D extends C {}
|
||||
|
||||
// Bu C ile genişletilmiyor.
|
||||
class E {}
|
||||
|
||||
function f(C $c) {
|
||||
echo get_class($c)."\n";
|
||||
}
|
||||
|
||||
f(new C);
|
||||
f(new D);
|
||||
f(new E);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
C
|
||||
D
|
||||
|
||||
Fatal error: Uncaught TypeError: f(): Argument #1 ($c) must be of type C, E given, called in /in/gLonb on line 14 and defined in /in/gLonb:8
|
||||
Stack trace:
|
||||
#0 -(14): f(Object(E))
|
||||
#1 {main}
|
||||
thrown in - on line 8
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- Temel arayüz türü bildirimi</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
interface I { public function f(); }
|
||||
class C implements I { public function f() {} }
|
||||
|
||||
// Bu I'yi gerçeklemiyor.
|
||||
class E {}
|
||||
|
||||
function f(I $i) {
|
||||
echo get_class($i)."\n";
|
||||
}
|
||||
|
||||
f(new C);
|
||||
f(new E);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
C
|
||||
|
||||
Fatal error: Uncaught TypeError: f(): Argument #1 ($i) must be of type I, E given, called in - on line 13 and defined in -:8
|
||||
Stack trace:
|
||||
#0 -(13): f(Object(E))
|
||||
#1 {main}
|
||||
thrown in - on line 8
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- Temel dönüş türü bildirimi</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function sum($a, $b): float {
|
||||
return $a + $b;
|
||||
}
|
||||
|
||||
// Dikkat bu bir float döndürmeyecek.
|
||||
var_dump(sum(1, 2));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
float(3)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- Bir nesne döndürmek</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class C {}
|
||||
|
||||
function getC(): C {
|
||||
return new C;
|
||||
}
|
||||
|
||||
var_dump(getC());
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
object(C)#1 (0) {
|
||||
}
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.declarations.nullable">
|
||||
<title>Boş olabilen türler</title>
|
||||
|
||||
<para>
|
||||
PHP 7.1.0 ve sonrasında, tür isminin önüne bir soru imi
|
||||
(<literal>?</literal>) konarak, tür bildirimleri boş olabilir (nullable)
|
||||
olarak imlenebilmektedir. Bu sözdizimi, değerin belirtilen türde veya &null;
|
||||
olabileceğini belirtir.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>- Boş olabilen bağımsız değişken türü bildirimi</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class C {}
|
||||
|
||||
function f(?C $c) {
|
||||
var_dump($c);
|
||||
}
|
||||
|
||||
f(new C);
|
||||
f(null);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
object(C)#1 (0) {
|
||||
}
|
||||
NULL
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- Boş olabilen dönüş türü bildirimi</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function get_item(): ?string {
|
||||
if (isset($_GET['item'])) {
|
||||
return $_GET['item'];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
<literal>null</literal>'u öntanımlı değer yaparak null değerli olabilen
|
||||
bağımsız değişkenler elde etmek mümkündür. Kalıtım sırasında bozulduğundan
|
||||
bunun yapılması önerilmez.
|
||||
</para>
|
||||
<example>
|
||||
<title>- Null olabilen bağımsız değişken yapmanın eski yolu</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class C {}
|
||||
|
||||
function f(C $c = null) {
|
||||
var_dump($c);
|
||||
}
|
||||
|
||||
f(new C);
|
||||
f(null);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
object(C)#1 (0) {
|
||||
}
|
||||
NULL
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.declarations.composite">
|
||||
<title>Karma Türler</title>
|
||||
<para>
|
||||
Basit türleri karma türler halinde birleştirmek mümkündür.
|
||||
PHP türlerin birleştirilmesinde şu yolların kullanımına izin verir:
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Basit türlerin birleşimi. PHP 8.0.0 ve sonrası.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Sınıf türlerinin (arayüzler ve sınıf isimleri) kesişimi.
|
||||
PHP 8.1.0 ve sonrası.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<caution>
|
||||
<simpara>
|
||||
Kesişim türleri, birleşim türleri ile birleştirilemez.
|
||||
</simpara>
|
||||
</caution>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.composite.union">
|
||||
<title>Birleşim türleri</title>
|
||||
<para>
|
||||
Bir birleşim (union) türü bildirimi, tek bir tür yerine birden fazla türde
|
||||
değer kabul eder. Birleşim türleri <literal>T1|T2|...</literal> sözdizimi
|
||||
kullanılarak belirtilir. Birleşim türleri PHP 8.0.0 ve sonrasında
|
||||
kullanılabilir.
|
||||
</para>
|
||||
|
||||
<sect4 xml:id="language.types.declarations.composite.union.nullable">
|
||||
<title>Boş olabilen birleşim türleri</title>
|
||||
<para>
|
||||
Boş (<literal>null</literal>) tür, birleşimlerin bir parçası olarak
|
||||
desteklenir, yani <literal>T1|T2|null</literal> sözdizimi, boş
|
||||
olabilen bir birleşim oluşturmak için kullanılabilir. Mevcut
|
||||
<literal>?T</literal> gösterimi, yaygın <literal>T|null</literal>
|
||||
durumu için bir kısaltma olarak kabul edilir.
|
||||
</para>
|
||||
|
||||
<caution>
|
||||
<simpara>
|
||||
<literal>null</literal> tek başına bir tür olarak kullanılamaz.
|
||||
</simpara>
|
||||
</caution>
|
||||
</sect4>
|
||||
|
||||
<sect4 xml:id="language.types.declarations.composite.union.false">
|
||||
<title>false sözde türü</title>
|
||||
<para>
|
||||
<literal>false</literal> değişmez türü, birleşimlerin bir parçası olarak
|
||||
desteklenir ve tarihsel nedenlerden ötürü, birçok dahili işlev
|
||||
başarısızlık durumunda <literal>null</literal> yerine
|
||||
<literal>false</literal> döndürür. Böyle bir işleve klasik bir örnek
|
||||
<function>strpos</function>'dur.
|
||||
</para>
|
||||
|
||||
<caution>
|
||||
<simpara>
|
||||
<literal>false</literal> tek başına bir tür olarak kullanılamaz (boş
|
||||
olabilen tür dahil). Bu nedenle, <literal>false</literal>,
|
||||
<literal>false|null</literal> ve <literal>?false</literal> ifadelerinin
|
||||
hiçbirine izin verilmez.
|
||||
</simpara>
|
||||
</caution>
|
||||
<caution>
|
||||
<simpara>
|
||||
<literal>true</literal> diye bir tür <emphasis>yoktur</emphasis>.
|
||||
</simpara>
|
||||
</caution>
|
||||
</sect4>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.composite.intersection">
|
||||
<title>Kesişim türleri</title>
|
||||
<para>
|
||||
Kesişim türü bildirimi, tek bir tür yerine çok sayıda sınıf türü
|
||||
bildirimini karşılayan değerleri kabul eder. Kesişim türleri
|
||||
<literal>T1&T2&...</literal> sözdizimi kullanılarak bildirilir.
|
||||
Kesişim türleri PHP 8.1.0 ve sonrasında kullanılabilmektedir.
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.composite.redundant">
|
||||
<title>Yinelenen ve artık türler</title>
|
||||
<para>
|
||||
Birleşim türü bildirimlerindeki basit hataları yakalamak için, sınıf
|
||||
yüklemesi gerçekleştirilmeden algılanabilen artık türler bir derleme anı hatasıyla sonuçlanacaktır. Şunları içerir:
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Ad-çözümlemeli her tür yalnızca bir kere görünebilir. Örneğin,
|
||||
<literal>int|string|INT</literal> birleşimi veya
|
||||
<literal>Countable&Traversable&COUNTABLE</literal> kesişimi
|
||||
bir hatayla sonuçlanır.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>mixed</type> kullanımı bir hatayla sonuçlanır.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>Birleşim türlerinde:</simpara>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Eğer <type>bool</type> kullanılmışsa,
|
||||
yanına <type>false</type> eklenemez.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Eğer <type>object</type> kullanılmışsa,
|
||||
yanına sınıf türleri eklenemez.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Eğer <type>iterable</type> kullanılmışsa, yanına <type>array</type>
|
||||
ve <classname>Traversable</classname> eklenemez.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>Kesişim türlerinde:</simpara>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Sınıf türünde olmayan bir türün kullanımı hatayla sonuçlanır.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>self</type>, <type>parent</type> ve
|
||||
<type>static</type> kullanımları da hatayla sonuçlanır.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<simpara>
|
||||
Bu, türün "en düşükte" olduğunu garanti etmez, çünkü bunu yapmak tüm
|
||||
kullanılan sınıf türlerinin yüklenmesini gerektirecektir.
|
||||
</simpara>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
Örneğin, <literal>A</literal> ve <literal>B</literal> sınıfın diğer adları
|
||||
ise, <literal>A|B</literal> sonradan <literal>A</literal> veya
|
||||
<literal>B</literal>'ye indirgense bile meşru bir birleşim türü olarak kalır.
|
||||
Benzer şekilde, <literal>B</literal> sınıfı <literal>A</literal>'yı
|
||||
genişletirse, <literal>A|B</literal> de meşru bir birleşim türüdür,
|
||||
ancak sadece <literal>A</literal>'ya indirgenebilir.
|
||||
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function foo(): int|INT {} // izin verilmez
|
||||
function foo(): bool|false {} // izin verilmez
|
||||
function foo(): int&Traversable {} // izin verilmez
|
||||
function foo(): self&Traversable {} // izin verilmez
|
||||
|
||||
use A as B;
|
||||
function foo(): A|B {} // izin verilmez ("use" ad çözünürlüğünün bir parçasıdır)
|
||||
function foo(): A&B {} // izin verilmez ("use" ad çözünürlüğünün bir parçasıdır)
|
||||
|
||||
class_alias('X', 'Y');
|
||||
function foo(): X|Y {} // izin verilir (fazlalık sadece çalışma anında anlaşılır)
|
||||
function foo(): X&Y {} // izin verilir (fazlalık sadece çalışma anında anlaşılır)
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.declarations.return-only">
|
||||
<title>Dönüşe özgü türler</title>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.void">
|
||||
<title>void</title>
|
||||
<para>
|
||||
<literal>void</literal> işlevin bir değer döndürmediğini belirten bir
|
||||
dönüş türüdür. Bundan dolayı birleşim türündeki bildirimlerde yer alamaz.
|
||||
PHP 7.1.0 ve sonrasında geçerlidir.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
<type>void</type> işlevden gönderimli değer döndürülmesi tutarsız
|
||||
olduğundan PHP 8.1.0 itibariyle bunun yapılması önerilmemektedir.
|
||||
Evvelce, böyle bir durumda şu <constant>E_NOTICE</constant> çıktılanırdı:
|
||||
<literal>Only variable references should be returned by reference</literal>
|
||||
(Yalnızca gönderimli değişkenler gönderimli döndürülebilir).
|
||||
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function &test(): void {}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</note>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.never">
|
||||
<title>never</title>
|
||||
<para>
|
||||
<literal>never</literal> işlevin dönmeyeceğini belirten bir dönüş türüdür.
|
||||
Yani, ya <function>exit</function> işlevini çağırıyordur veya bir istisna
|
||||
yavruluyordur ya da sonsuz döngüye girmiştir. Bu bakımdan
|
||||
<type>union</type> tür bildirimine dahil edilmez.
|
||||
PHP 8.1.0 ve sonrasında kullanılabilir.
|
||||
</para>
|
||||
<para>
|
||||
<type>never</type> tür teorisi tabiriyle en alt türdür. Yani, diğer
|
||||
tüm türlerin alt türüdür ve kalıtım sırasında diğer herhangi bir dönüş
|
||||
türünün yerini alabilir.
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="language.types.declarations.static">
|
||||
<title>static</title>
|
||||
<para>
|
||||
Değer, yöntemin çağrıldığı sınıf örneğinin örneklendiği sınıfın bir örneği
|
||||
olmalıdır. PHP 8.0.0 ve sonrasında geçerlidir.
|
||||
</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.declarations.strict">
|
||||
<title>Katı kodlama</title>
|
||||
|
||||
<para>
|
||||
Öntanımlı olarak, PHP, eğer mümkünse, yanlış türdeki değerleri beklenen
|
||||
sayıl tür bildirimine zorlar. Örneğin, <type>string</type> türünde bir
|
||||
değer alması beklenen bir bağımsız değişken için <type>int</type> değer verilen
|
||||
bir işlev için değer <type>string</type> türüne zorlanır.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Katı kipi dosya bazında etkinleştirmek mümkündür. Katı kipte, yalnızca tür
|
||||
bildirimine tam olarak karşılık gelen bir değer kabul edilir, aksi takdirde
|
||||
bir <classname>TypeError</classname> istisnası oluşur. Bu kuralın tek
|
||||
istisnası, bir <type>int</type> değerinin bir <type>float</type> tür
|
||||
bildirimine aktarılmasıdır.
|
||||
</para>
|
||||
|
||||
<warning>
|
||||
<simpara>
|
||||
Dahili işlevlerden gelen işlev çağrıları, <literal>strict_types</literal>
|
||||
bildiriminden etkilenmeyecektir.
|
||||
</simpara>
|
||||
</warning>
|
||||
|
||||
<para>
|
||||
Katı modu etkinleştirmek için, &declare; deyimi
|
||||
<literal>strict_types</literal> bildirimi ile birlikte kullanılır.
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Katı kodlama, katı kodlama etkinleştirilmiş dosya içinden yapılan işlev
|
||||
çağrıları için geçerlidir, o dosya içinde bildirilen işlevler için geçerli
|
||||
değildir. Katı-kodlama-etkin bir dosyada tanımlanan bir işleve,
|
||||
katı-kodlama-etkin-olmayan bir dosyadan çağrı yapılırsa, çağrıcının
|
||||
tercihine (zorlayıcı kodlamaya) saygı gösterilecek ve değer zorlanacaktır.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Katı kodlama sadece sayıl tür bildirimleri için tanımlanır.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<example>
|
||||
<title>- Bağımsız değişken değerleri için katı kodlama</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
function sum(int $a, int $b) {
|
||||
return $a + $b;
|
||||
}
|
||||
|
||||
var_dump(sum(1, 2));
|
||||
var_dump(sum(1.5, 2.5));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
int(3)
|
||||
|
||||
Fatal error: Uncaught TypeError: sum(): Argument #1 ($a) must be of type int, float given, called in - on line 9 and defined in -:4
|
||||
Stack trace:
|
||||
#0 -(9): sum(1.5, 2.5)
|
||||
#1 {main}
|
||||
thrown in - on line 4
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- Bağımsız değişken değerleri için zorlayıcı kodlama</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function sum(int $a, int $b) {
|
||||
return $a + $b;
|
||||
}
|
||||
|
||||
var_dump(sum(1, 2));
|
||||
|
||||
// Değerler tamsayılara zorlanacaktır, sonuç değil: çıktıya bakın!
|
||||
var_dump(sum(1.5, 2.5));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
int(3)
|
||||
int(3)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- Dönüş değerleri için katı kodlama</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
function sum($a, $b): int {
|
||||
return $a + $b;
|
||||
}
|
||||
|
||||
var_dump(sum(1, 2));
|
||||
var_dump(sum(1, 2.5));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
int(3)
|
||||
|
||||
Fatal error: Uncaught TypeError: sum(): Return value must be of type int, float returned in -:5
|
||||
Stack trace:
|
||||
#0 -(9): sum(1, 2.5)
|
||||
#1 {main}
|
||||
thrown in - on line 5
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.declarations.union.coercive">
|
||||
<title>Birleşim türleriyle zorlayıcı kodlama</title>
|
||||
<para>
|
||||
Katı kodlama etkinleştirilmediğinde, sayıl tür bildirimleri sınırlı örtük
|
||||
tür zorlamalarına tabidir. Değerin tam türü birleşimin parçası değilse,
|
||||
hedef tür aşağıdaki tercih sırasına göre seçilir:
|
||||
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>int</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>float</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>string</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>bool</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
|
||||
Tür birleşiminde her ikisi de mevcutsa ve değer PHP'nin mevcut tür denetleme
|
||||
yapısıyla bir türe zorlanabiliyorsa, o tür seçilir. Aksi takdirde bir sonraki
|
||||
tür denenir.
|
||||
</para>
|
||||
|
||||
<caution>
|
||||
<para>
|
||||
Bir istisna olarak, değer bir dizeyse ve hem int hem de float birleşimin
|
||||
parçasıysa, tercih edilen tür, mevcut "sayısal dize" çözümlemesine göre
|
||||
belirlenir. Örneğin, <literal>"42"</literal> için <type>int</type>,
|
||||
<literal>"42.0"</literal> için <type>float</type> seçilir.
|
||||
</para>
|
||||
</caution>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Yukarıdaki tercih listesinin parçası olmayan türler, örtük zorlama için
|
||||
uygun hedefler değildir. Özellikle, <literal>null</literal> ve
|
||||
<literal>false</literal> türlere hiçbir örtük zorlama yapılmaz.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<example>
|
||||
<title>- Birleşimin bir tür parçasına zorlanan türlere örnek</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// int|string
|
||||
42 --> 42 // doğru tür
|
||||
"42" --> "42" // doğru tür
|
||||
new ObjectWithToString --> "Result of __toString()"
|
||||
// nesne int ile hiç uyumlu değil, dizeye dönülür
|
||||
42.0 --> 42 // float, int ile uyumlu
|
||||
42.1 --> 42 // float, int ile uyumlu
|
||||
1e100 --> "1.0E+100" // float, int için çok büyük, dizeye dönülür
|
||||
INF --> "INF" // float, int için çok büyük, dizeye dönülür
|
||||
true --> 1 // bool, int ile uyumlu
|
||||
[] --> TypeError // array, int veya string ile uyumlu değil
|
||||
|
||||
// int|float|bool
|
||||
"45" --> 45 // int sayısal dize
|
||||
"45.0" --> 45.0 // float sayısal dize
|
||||
|
||||
"45X" --> true // sayısal dize değil, bool'a dönülür
|
||||
"" --> false // sayısal dize değil, bool'a dönülür
|
||||
"X" --> true // sayısal dize değil, bool'a dönülür
|
||||
[] --> TypeError // array, int float veya bool ile uyumlu değil
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
<!-- TODO figure out what do to with these things -->
|
||||
<sect2 xml:id="language.types.declarations.misc">
|
||||
<title>Çeşitli</title>
|
||||
<example>
|
||||
<title>Başvuruyla aktarılan bağımsız değişkenler</title>
|
||||
<simpara>
|
||||
Bildirilen başvuru bağımsız değişkenlerinin türleri işlev girişinde denetlenir, ancak işlev döndüğünde denetlenmez, bu nedenle işlev döndükten sonra bağımsız değişkenin türü değişmiş olabilir.
|
||||
</simpara>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function array_baz(array &$param)
|
||||
{
|
||||
$param = 1;
|
||||
}
|
||||
$var = [];
|
||||
array_baz($var);
|
||||
var_dump($var);
|
||||
array_baz($var);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
int(1)
|
||||
|
||||
Fatal error: Uncaught TypeError: array_baz(): Argument #1 ($param) must be of type array, int given, called in - on line 9 and defined in -:2
|
||||
Stack trace:
|
||||
#0 -(9): array_baz(1)
|
||||
#1 {main}
|
||||
thrown in - on line 2
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>- <classname>TypeError</classname> yakalama</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
function sum(int $a, int $b) {
|
||||
return $a + $b;
|
||||
}
|
||||
|
||||
try {
|
||||
var_dump(sum(1, 2));
|
||||
var_dump(sum(1.5, 2.5));
|
||||
} catch (TypeError $e) {
|
||||
echo 'Error: ', $e->getMessage();
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.8;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
int(3)
|
||||
Error: sum(): Argument #1 ($a) must be of type int, float given, called in - on line 10
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 754641d8dd08d4d63808d98bfc15c31346505d9c Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.types.integer">
|
||||
<title><code>int</code></title>
|
||||
|
||||
@@ -8,27 +8,16 @@
|
||||
ℤ = {..., -2, -1, 0, 1, 2, ...}.
|
||||
</simpara>
|
||||
|
||||
<para>
|
||||
Bunlara da bakınız:
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="book.gmp">Keyfi uzunlukta tamsayı / GMP</link>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="language.types.float">Kayan noktalı sayılar</link>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<link linkend="book.bc">Keyfi ondalık hassasiyet / BCMath</link>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<sect2 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><link linkend="language.types.float">Kayan noktalı sayılar</link></member>
|
||||
<member><link linkend="book.bc">Keyfi ondalık hassasiyet / BCMath</link></member>
|
||||
<member><link linkend="book.gmp">Keyfi uzunlukta tamsayı / GMP</link></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.integer.syntax">
|
||||
<title>Sözdizimi</title>
|
||||
@@ -44,8 +33,8 @@
|
||||
Sekizlik gösterimde sayıların önüne <literal>0</literal> (sıfır),
|
||||
onaltılık gösterimde <literal>0x</literal> ve ikil gösterimde
|
||||
<literal>0b</literal> getirilir.
|
||||
PHP 8.1.0 ve sonrasında sekizlik gösterim ayrıca, <literal>0o</literal> veya
|
||||
<literal>0O</literal> ile öncelenmiş de olabilir.
|
||||
PHP 8.1.0 ve sonrasında sekizlik gösterim ayrıca, <literal>0o</literal>
|
||||
veya <literal>0O</literal> ile öncelenmiş de olabilir.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@@ -72,8 +61,9 @@ $a = 1_234.567; // onluk sayı (PHP 7.4.0 ve sonrası)
|
||||
</example>
|
||||
|
||||
<para>
|
||||
Biçimsel olarak PHP 7.4.0 ve sonrasında <type>int</type> değişmezlerin yapısı
|
||||
(öncesinde altçizgilere izin verilmezdi):
|
||||
PHP 8.1.0'dan itibaren, biçimsel olarak, int değişmezlerinin yapısı
|
||||
(evvelce, <literal>0o</literal> ve <literal>0O</literal> sekizlik
|
||||
öneklerine ve PHP 7.4.0'dan önce alt çizgilere izin verilmezdi):
|
||||
</para>
|
||||
|
||||
<informalexample>
|
||||
@@ -112,7 +102,9 @@ tamsayı : onluk
|
||||
|
||||
<para>
|
||||
PHP, <type>int</type> türünde bir değerin bellekte <type>int</type> türüne
|
||||
ayrılan genişliğe sığmadığını saptarsa <type>float</type> türünde bir değer olarak ele alır ve bu durum yapılan bir işlem sırasında ortaya çıkmışsa işlemden dönen değer <type>float</type> türünde olur.
|
||||
ayrılan genişliğe sığmadığını saptarsa <type>float</type> türünde bir
|
||||
değer olarak ele alır ve bu durum yapılan bir işlem sırasında ortaya
|
||||
çıkmışsa işlemden dönen değer <type>float</type> türünde olur.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
||||
@@ -1,99 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 5ccee0ae1c9978e1b28b0dd3ff901393f8be19e9 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.types.iterable">
|
||||
<title>Yinelenebilirler</title>
|
||||
|
||||
<para>
|
||||
<type>Iterable</type> bir sözde-tür olup PHP 7.1'de eklendi.
|
||||
<classname>Traversable</classname> gerçeleyen bir nesne veya bir dizi
|
||||
kabul eder. Bu türlerin her ikisi de &foreach; kullanarak yinelenebilir ve
|
||||
<command>yield from</command> ile bir <link
|
||||
linkend="language.generators">üreteç</link> içinde kullanılabilir.
|
||||
<type>Iterable</type> (yinelenebilir tür) yerleşik olarak derleme
|
||||
sırasında <literal>array|Traversable</literal> türüne bir takma ad olarak
|
||||
tanımlanmıştır. PHP 7.1.0'dan PHP 8.2.0'a kadar yukarıda belirtilen tür
|
||||
takma adı olarak işlev gören ve bir tür bildirimi olarak kullanılabilen
|
||||
yerleşik bir sözde türdü. Yinelenebilir tür,
|
||||
<link linkend="language.generators">üreteç</link> içinde
|
||||
<command>yield from</command> ile ve &foreach; içinde kullanılabilir.
|
||||
</para>
|
||||
|
||||
<sect2 xml:id="language.types.iterable.using">
|
||||
<title>Yinelenebilirlerin kullanımı</title>
|
||||
|
||||
<para>
|
||||
Yinelenebilir, bir işlevin bir değerler kümesi gerektirdiğini belirtmek
|
||||
için bir bağımsız değişken türü olarak kullanılabilir. Fakat &foreach; ile
|
||||
kullanacağından değer kümesinin biçimini umursamaz. Eğer değer bir dizi
|
||||
veya bir <classname>Traversable</classname> örneği değilse bir
|
||||
<classname>TypeError</classname> yavrulanır.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>- Yinelenebilir bağımsız değişken örneği</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
function foo(iterable $yinele) {
|
||||
foreach ($yinele as $değer) {
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<type>iterable</type> türünde bildirilen değişirgeler &null; veya
|
||||
öntanımlı değer olarak bir dizi kullanabilir.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>- Yinelenebilir bağımsız değişken için öntanımlı değer örneği</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
function foo(iterable $iterable = []) {
|
||||
// ...
|
||||
}
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Bir işlevin <type>iterable</type> türünde bir değerle döneceğini belirtmek
|
||||
için dönüş türü olarak kullanılabilir. Dönen değer bir dizi veya bir
|
||||
<classname>Traversable</classname> örneği değilse bir
|
||||
<classname>TypeError</classname> yavrulanır.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>- Yinelenebilir dönüş türü örneği</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
function bar(): iterable {
|
||||
return [1, 2, 3];
|
||||
}
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Dönüş türü olarak <type>iterable</type> bildiren bir işlev ayrıca,
|
||||
bir <link linkend="language.generators">üreteç</link> olarak da
|
||||
kullanılabilir.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>- Yinelenebilir üreteç dönüş türü örneği</title>
|
||||
<programlisting role="php">
|
||||
@@ -111,8 +36,7 @@ function gen(): iterable {
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
</note>
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,35 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a8796e2f7135ffb53d71dbd4020fcf3ecca19e09 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.types.null">
|
||||
<title><code>NULL</code></title>
|
||||
|
||||
<para>
|
||||
Özel &null; değeri, değeri olmayan bir değişken anlamına gelir. &null;
|
||||
değerinin olası tek türü <type>null</type>'dur.
|
||||
<type>null</type> PHP'nin yokluk türü olup olası tek değeri &null;'dur.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Bir değişken <type>null</type> türündeyse:
|
||||
Tanımsızdır ve değişkenler <function>unset</function> ile &null; değere
|
||||
çözümlenir.
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Kendisine &null; sabiti atanmış demektir.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Kendisine herhangi bir değer atanmamış demektir.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<function>unset</function> işlevine aktarılmış demektir.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<sect2 xml:id="language.types.null.syntax">
|
||||
<title>Sözdizimi</title>
|
||||
|
||||
@@ -47,12 +29,6 @@ $var = NULL;
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
|
||||
<para>
|
||||
Ayrıca, <function>is_null</function> ve <function>unset</function>
|
||||
işlevlerine de bakınız.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.null.casting">
|
||||
@@ -67,7 +43,16 @@ $var = NULL;
|
||||
türüne çarpıtılırsa değişken kaldırılmaz fakat değersiz hale getirilmiş
|
||||
olur ve sadece &null; değer döndürür.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>is_null</function></member>
|
||||
<member><function>unset</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f32703dce3d941dd6add101551a6c9f126d8eaa0 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 445502deadd968bfb0207f96237b8fb6f968b100 Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.types.type-juggling">
|
||||
<title>Tür Dönüşümü</title>
|
||||
|
||||
@@ -80,7 +80,10 @@
|
||||
</simpara>
|
||||
|
||||
<simpara>
|
||||
Bu bağlamlarda değer <type>string</type> türünde değerlendirilir.
|
||||
Bu bağlamlarda değer <type>string</type> olarak yorumlanır. Değer
|
||||
yorumlanabilir değilse <classname>TypeError</classname> örneklenir.
|
||||
PHP 7.4.0 öncesinde <constant>E_RECOVERABLE_ERROR</constant> hatası
|
||||
oluşurdu.
|
||||
</simpara>
|
||||
</sect2>
|
||||
|
||||
@@ -130,17 +133,33 @@
|
||||
</simpara>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 xml:id="language.types.type-juggling.function">
|
||||
<title>İşlevsel bağlamlar</title>
|
||||
|
||||
<simpara>
|
||||
Bir değerin belli bir türdeki bir bağımsız değişkene veya özelliğe atandığı veya
|
||||
dönüş türü bildiren bir işlevden döndürüldüğü bağlamlardır.
|
||||
Bir değerin belli bir türdeki bir bağımsız değişkene veya özelliğe
|
||||
atandığı veya dönüş türü bildiren bir işlevden döndürüldüğü bağlamlardır.
|
||||
</simpara>
|
||||
<para>
|
||||
Bu bağlamlarda kodlama zorlayıcı olduğunda (öntanımlıdır) sadece sayıl
|
||||
türler başka bir sayıl türe dönüştürülebilir. Basit tür bildirimleri
|
||||
durumunda davranış şöyledir:
|
||||
Bu bağlamlarda değerin bir türü olmalıdır. Bunun iki istisnası vardır.
|
||||
İlk istisna: Değer <type>int</type> türündeyse ve bildirilen tür
|
||||
<type>float</type> ise tamsayı gerçek sayıya dönüştürülür.
|
||||
İkinci istisna: Değerin türü ve bildirim türü <emphasis>sayıl</emphasis>
|
||||
türlerden biriyse ve zorlayıcı tür kipi etkinse (öntanımlıdır), değer
|
||||
uygun bir sayıl türe dönüştürülebilir. Bu davranışın açıklaması aşağıda
|
||||
bulunabilir.
|
||||
</para>
|
||||
|
||||
<warning>
|
||||
<simpara>
|
||||
<link linkend="functions.internal">Dahili işlevler</link> sayıl türleri
|
||||
otomatik olarak &null;'a dönüşmeye zorlar; bu davranışın PHP 8.1.0
|
||||
itibariyle <emphasis>KULLANIMI ÖNERİLMEMEKTEDİR</emphasis>.
|
||||
</simpara>
|
||||
</warning>
|
||||
|
||||
<sect3 xml:id="language.types.type-juggling.function.simple">
|
||||
<title>Basit tür bildirimli zorlayıcı tür kipi</title>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
@@ -169,19 +188,92 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
Tür bir birleşim ise
|
||||
<link linkend="language.types.declarations.union.coercive">Birleşim
|
||||
türleriyle zorlayıcı kodlama</link> bölümüne bakılabilir.
|
||||
</para>
|
||||
<sect3 xml:id="language.types.type-juggling.function.union">
|
||||
<title>Birleşim türleriyle zorlanmış tür dönüşümü</title>
|
||||
<para>
|
||||
<literal>strict_types</literal> etkin olduğunda sayıl tür bildirimlerine
|
||||
örtük olarak sınırlı tür zorlamaları uygulanır. Değerin asıl türü
|
||||
birleşimin (<type>union</type>) parçası değilse hedef tür aşağıdaki
|
||||
öncelik sırasına göre belirlenir:
|
||||
|
||||
<warning>
|
||||
<simpara>
|
||||
<link linkend="functions.internal">Yerleşik işlevler</link> otomatik
|
||||
olarak &null; değerleri sayıl türlere zorlar. Bu davranışın PHP 8.1.0 ve
|
||||
sonrasında kullanımdan kalkması beklenmektedir.
|
||||
</simpara>
|
||||
</warning>
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>int</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>float</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>string</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<type>bool</type>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
|
||||
Tür hem birleşimde hem de değerde mevcutsa, PHP'nin mevcut tür sınama
|
||||
anlamlandırmasına uygun olarak değerin türü zorlanarak tür seçilir,
|
||||
değilse birleşimin sonraki türü denenir.
|
||||
</para>
|
||||
|
||||
<caution>
|
||||
<para>
|
||||
Bir istisna olarak, değer bir dizgeyse ve hem int hem de float
|
||||
birleşime dahilse tercihli tür mevcut "sayısal dizge" anlamlandırmasına
|
||||
göre belirlenir. Örneğin, <literal>"42"</literal> değeri için
|
||||
<type>int</type> seçilirken, <literal>"42.0"</literal> değeri için
|
||||
<type>float</type> seçilir.
|
||||
</para>
|
||||
</caution>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Yukarıdaki tercih listesine dahil olmayan türler örtük zorlama için
|
||||
seçilebilir hedefler değildir. Özellikle, <literal>null</literal> and
|
||||
<literal>false</literal> değerlere hiçbir örtük zorlama uygulanmaz.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<example>
|
||||
<title>- Birleşimin türlerinden birine zorlama örneği</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// int|string
|
||||
42 --> 42 // kesin tür
|
||||
"42" --> "42" // kesin tür
|
||||
new ObjectWithToString --> "__toString() sonucu"
|
||||
// nesne int ile uyumsuz, son çare: string
|
||||
42.0 --> 42 // float ile int uyumlu
|
||||
42.1 --> 42 // float ile int uyumlu
|
||||
1e100 --> "1.0E+100" // float; int için çok büyük, son çare: string
|
||||
INF --> "INF" // float; int için çok büyük, son çare: string
|
||||
true --> 1 // bool ile int uyumlu
|
||||
[] --> TypeError // array ile int veya string uyumlu değil
|
||||
|
||||
// int|float|bool
|
||||
"45" --> 45 // int sayısal dizge
|
||||
"45.0" --> 45.0 // float sayısal dizge
|
||||
|
||||
"45X" --> true // sayısal dizge değil, son çare: bool
|
||||
"" --> false // sayısal dizge değil, son çare: bool
|
||||
"X" --> true // sayısal dizge değil, son çare: bool
|
||||
[] --> TypeError // array ile int, float veya bool uyumlu değil
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.typecasting">
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
<type>mixed</type><methodname>dio_fcntl</methodname>
|
||||
<methodparam><type>resource</type><parameter>dt</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>komut</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>dio_fcntl</function> işlevi, <parameter>dt</parameter> dosya
|
||||
tanıtıcısı üzerinde <parameter>komut</parameter> ile belirtilen işlemi
|
||||
yapar. Bazı komutların gerektirdiği ek bağımsız değişkenler
|
||||
<parameter>bağımsız değişkenler</parameter> bağımsız değişkeninde belirtilebilir.
|
||||
<parameter>bağımsız_değişkenler</parameter> bağımsız değişkeninde belirtilebilir.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -63,7 +63,7 @@
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>F_DUPFD</constant> - <parameter>bağımsız değişkenler</parameter>
|
||||
<constant>F_DUPFD</constant> - <parameter>bağımsız_değişkenler</parameter>
|
||||
değerine eşit veya büyük dosya tanıtıcılarından en küçük
|
||||
numaralısını bulur ve bunu döndürür.
|
||||
</para>
|
||||
@@ -71,7 +71,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>F_SETFL</constant> - Dosya tanıtıcılarının seçeneklerini
|
||||
<parameter>bağımsız değişkenler</parameter> ile belirtilen değere ayarlar;
|
||||
<parameter>bağımsız_değişkenler</parameter> ile belirtilen değere ayarlar;
|
||||
bunlar, <constant>O_APPEND</constant>,
|
||||
<constant>O_NONBLOCK</constant> veya <constant>O_ASYNC</constant>
|
||||
olabilir. <constant>O_ASYNC</constant> kullanmak için <link
|
||||
@@ -83,10 +83,10 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>bağımsız değişkenler</parameter> bir ilişkisel dizi olup,
|
||||
<parameter>bağımsız_değişkenler</parameter> bir ilişkisel dizi olup,
|
||||
<parameter>komut</parameter> olarak <constant>F_SETLK</constant> veya
|
||||
<constant>F_SETLLW</constant> belirtildiğinde aşağıdaki anahtarlar belirtilebilir:
|
||||
<itemizedlist>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<parameter>seçenekler</parameter>bağımsız değişkeni atlanırsa dönen ilişkisel
|
||||
<parameter>seçenekler</parameter> bağımsız değişkeni atlanırsa dönen ilişkisel
|
||||
dizi şu bileşenleri içerir: <literal>dirname</literal> (dizin ismi),
|
||||
<literal>basename</literal> (uzantısız isim), <literal>extension</literal>
|
||||
(uzantı) ve <literal>filename</literal> (dosya ismi).
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>call_user_func</methodname>
|
||||
<methodparam><type>callable</type><parameter>işlev</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<parameter>işlev</parameter> bağımsız değişkeni ile belirtilen geriçağırım
|
||||
işlevini belirtilen <parameter>bağımsız değişkenler</parameter>i aktararak
|
||||
işlevini belirtilen <parameter>bağımsız_değişkenler</parameter>i aktararak
|
||||
çağırır.
|
||||
</para>
|
||||
</refsect1>
|
||||
@@ -34,7 +34,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
İşleve sıfır veya daha fazla sayıda bağımsız değişken aktarılabilir.
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>create_function</methodname>
|
||||
<methodparam><type>string</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>kod</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@@ -46,7 +46,7 @@
|
||||
öncelenmesi gerekecektir.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Tek tırnaklı dizge olarak, işlevin bağımsız değişkenleri.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>forward_static_call_array</methodname>
|
||||
<methodparam><type>callable</type><parameter>yöntem</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Adı <parameter>yöntem</parameter> bağımsız değişkeninde belirtilen kullanıcı
|
||||
@@ -38,7 +38,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Tüm bağımsız değişkenleri içeren bir dizi.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>forward_static_call</methodname>
|
||||
<methodparam><type>callable</type><parameter>yöntem</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Adı <parameter>yöntem</parameter> bağımsız değişkeninde belirtilen kullanıcı
|
||||
@@ -36,7 +36,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Bir veya daha fazla bağımsız değişken.
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>register_shutdown_function</methodname>
|
||||
<methodparam><type>callable</type><parameter>işlev</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Betiğin işi bittiğinde çalıştırılacak kapanma işlevini
|
||||
@@ -49,7 +49,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<function>register_shutdown_function</function> işlevi üzerinden
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>register_tick_function</methodname>
|
||||
<methodparam><type>callable</type><parameter>işlev</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam rep="repeat"><type>mixed</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Her <link linkend="control-structures.declare.ticks">ticks</link> deyimde
|
||||
@@ -32,7 +32,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry><parameter>seçenekler</parameter>bağımsız değişkeni eklendi.</entry>
|
||||
<entry><parameter>seçenekler</parameter> bağımsız değişkeni eklendi.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry><parameter>seçenekler</parameter>bağımsız değişkeni eklendi.</entry>
|
||||
<entry><parameter>seçenekler</parameter> bağımsız değişkeni eklendi.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry><parameter>seçenekler</parameter>bağımsız değişkeni eklendi.</entry>
|
||||
<entry><parameter>seçenekler</parameter> bağımsız değişkeni eklendi.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>Imagick::distortImage</methodname>
|
||||
<methodparam><type>int</type><parameter>yöntem</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
<methodparam><type>bool</type><parameter>sığdır</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@@ -43,7 +43,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Bozunum yönteminin bağımsız değişkenleri.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4c2cddb29bd88492eff40c979fdf8f88c09e4ab2 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<phpdoc:classref xml:id="class.collator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>Collator sınıfı</title>
|
||||
<titleabbrev>Karşılaştırıcı</titleabbrev>
|
||||
@@ -31,10 +31,10 @@
|
||||
</classsynopsisinfo>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Collator'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.collator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Collator'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f411d6bbf1c562ba120cb64384efaa95187de8a1 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.asort" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::asort</refname>
|
||||
@@ -10,14 +10,14 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>Collator::asort</methodname>
|
||||
<methodparam><type>array</type><parameter role="reference">dizi</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>sıralama_türü</parameter><initializer>Collator::SORT_REGULAR</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>collator_asort</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter role="reference">dizi</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ab45e8c9d43453d3cf3f3917b6db03e4f99c4a76 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.compare" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::compare</refname>
|
||||
@@ -10,14 +10,14 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>Collator::compare</methodname>
|
||||
<methodparam><type>string</type><parameter>dizge1</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dizge2</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>collator_compare</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dizge1</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: da9e1ca20838bdc83aa6809160ef014ebde28837 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Collator::__construct</refname>
|
||||
@@ -7,7 +7,7 @@
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<constructorsynopsis>
|
||||
<constructorsynopsis role="Collator">
|
||||
<modifier>public</modifier> <methodname>Collator::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
</constructorsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: da9e1ca20838bdc83aa6809160ef014ebde28837 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Collator::create</refname>
|
||||
@@ -10,14 +10,14 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>Collator</type><type>null</type></type><methodname>Collator::create</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>Collator</type><type>null</type></type><methodname>collator_create</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f411d6bbf1c562ba120cb64384efaa95187de8a1 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.getattribute" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::getAttribute</refname>
|
||||
@@ -10,12 +10,12 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>Collator::getAttribute</methodname>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>collator_get_attribute</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 03841ffe3790dfcaef8d60decb6a011774df3727 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.geterrorcode" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::getErrorCode</refname>
|
||||
@@ -10,13 +10,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>Collator::getErrorCode</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>collator_get_error_code</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 03841ffe3790dfcaef8d60decb6a011774df3727 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.geterrormessage" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::getErrorMessage</refname>
|
||||
@@ -10,13 +10,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Collator::getErrorMessage</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>collator_get_error_message</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f411d6bbf1c562ba120cb64384efaa95187de8a1 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.getlocale" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::getLocale</refname>
|
||||
@@ -10,13 +10,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Collator::getLocale</methodname>
|
||||
<methodparam><type>int</type><parameter>tür</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>collator_get_locale</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>tür</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f411d6bbf1c562ba120cb64384efaa95187de8a1 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.getstrength" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::getStrength</refname>
|
||||
@@ -10,13 +10,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type>int</type><methodname>Collator::getStrength</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>collator_get_strength</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f411d6bbf1c562ba120cb64384efaa95187de8a1 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.setattribute" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::setAttribute</refname>
|
||||
@@ -10,14 +10,14 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>Collator::setAttribute</methodname>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>değer</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>collator_set_attribute</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f411d6bbf1c562ba120cb64384efaa95187de8a1 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.setstrength" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Collator::setStrength</refname>
|
||||
@@ -10,13 +10,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>Collator::setStrength</methodname>
|
||||
<methodparam><type>int</type><parameter>seviye</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>collator_set_strength</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>seviye</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 03841ffe3790dfcaef8d60decb6a011774df3727 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.sortwithsortkeys" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::sortWithSortKeys</refname>
|
||||
@@ -11,13 +11,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>Collator::sortWithSortKeys</methodname>
|
||||
<methodparam><type>array</type><parameter role="reference">dizi</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>collator_sort_with_sort_keys</methodname>
|
||||
<methodparam><type>Collator</type><parameter>nesne</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter role="reference">dizi</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 03841ffe3790dfcaef8d60decb6a011774df3727 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="collator.sort" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Collator::sort</refname>
|
||||
@@ -11,7 +11,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Collator">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>Collator::sort</methodname>
|
||||
<methodparam><type>array</type><parameter role="reference">dizi</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4c2cddb29bd88492eff40c979fdf8f88c09e4ab2 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<phpdoc:classref xml:id="class.intldateformatter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>IntlDateFormatter sınıfı</title>
|
||||
<titleabbrev>Tarih Biçemleyici</titleabbrev>
|
||||
@@ -40,10 +40,10 @@
|
||||
</classsynopsisinfo>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='IntlDateFormatter'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='IntlDateFormatter'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 801be9ea871ef1994f04985814204cab13b1546e Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::create</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier> <type class="union"><type>IntlDateFormatter</type><type>null</type></type><methodname>IntlDateFormatter::create</methodname>
|
||||
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>yerel</parameter></methodparam>
|
||||
@@ -25,7 +25,7 @@
|
||||
<para>
|
||||
&style.oop; (kurucu)
|
||||
</para>
|
||||
<constructorsynopsis>
|
||||
<constructorsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<methodname>IntlDateFormatter::__construct</methodname>
|
||||
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>yerel</parameter></methodparam>
|
||||
@@ -38,7 +38,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>IntlDateFormatter</type><type>null</type></type><methodname>datefmt_create</methodname>
|
||||
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>yerel</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tarih_türü</parameter><initializer>IntlDateFormatter::FULL</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.format" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::format</refname>
|
||||
@@ -11,7 +11,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>IntlDateFormatter::format</methodname>
|
||||
<methodparam><type class="union"><type>IntlCalendar</type><type>DateTimeInterface</type><type>array</type><type>string</type><type>int</type><type>float</type></type><parameter>değer</parameter></methodparam>
|
||||
@@ -19,7 +19,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>datefmt_format</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type class="union"><type>IntlCalendar</type><type>DateTimeInterface</type><type>array</type><type>string</type><type>int</type><type>float</type></type><parameter>değer</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.getcalendar" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getCalendar</refname>
|
||||
@@ -12,14 +12,15 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>IntlDateFormatter::getCalendar</methodname>
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>IntlDateFormatter::getCalendar</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>datefmt_get_calendar</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.getdatetype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getDateType</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>IntlDateFormatter::getDateType</methodname>
|
||||
<void/>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>datefmt_get_datetype</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.geterrorcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getErrorCode</refname>
|
||||
@@ -11,7 +11,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>int</type><methodname>IntlDateFormatter::getErrorCode</methodname>
|
||||
<void/>
|
||||
@@ -19,7 +19,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>datefmt_get_error_code</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.geterrormessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getErrorMessage</refname>
|
||||
@@ -11,14 +11,14 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier> <type>string</type><methodname>IntlDateFormatter::getErrorMessage</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>datefmt_get_error_message</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.getlocale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getLocale</refname>
|
||||
@@ -11,14 +11,14 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlDateFormatter::getLocale</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tür</parameter><initializer><constant>ULOC_ACTUAL_LOCALE</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>datefmt_get_locale</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>tür</parameter><initializer><constant>ULOC_ACTUAL_LOCALE</constant></initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.getpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getPattern</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>IntlDateFormatter::getPattern</methodname>
|
||||
<void/>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>datefmt_get_pattern</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.gettimetype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getTimeType</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>IntlDateFormatter::getTimeType</methodname>
|
||||
<void/>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>datefmt_get_timetype</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 733626c0a4a0bc05e0512a82f4e7ace400ab5f14 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.gettimezoneid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getTimeZoneId</refname>
|
||||
@@ -12,14 +12,14 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlDateFormatter::getTimeZoneId</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>datefmt_get_timezone_id</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.islenient" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::isLenient</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier> <type>bool</type><methodname>IntlDateFormatter::isLenient</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.localtime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::localtime</refname>
|
||||
@@ -11,7 +11,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>array</type><type>false</type></type><methodname>IntlDateFormatter::localtime</methodname>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>false</type></type><methodname>datefmt_localtime</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 73fae4ee51b644b72028e610abefefced57c18ad Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.parse" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::parse</refname>
|
||||
@@ -11,7 +11,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>IntlDateFormatter::parse</methodname>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>datefmt_parse</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.setcalendar" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::setCalendar</refname>
|
||||
@@ -11,14 +11,14 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier> <type>bool</type><methodname>IntlDateFormatter::setCalendar</methodname>
|
||||
<methodparam><type class="union"><type>IntlCalendar</type><type>int</type><type>null</type></type><parameter>takvim</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>datefmt_set_calendar</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type class="union"><type>IntlCalendar</type><type>int</type><type>null</type></type><parameter>takvim</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce46b05403346a4b21937db0b923173431104145 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.setlenient" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::setLenient</refname>
|
||||
@@ -11,7 +11,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>void</type><methodname>IntlDateFormatter::setLenient</methodname>
|
||||
<methodparam><type>bool</type><parameter>esnek</parameter></methodparam>
|
||||
@@ -19,7 +19,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>datefmt_set_lenient</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>bool</type><parameter>esnek</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 2790c0fd69856d7ef7b4519172e59f0b67c09b5c Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="intldateformatter.setpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::setPattern</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="IntlDateFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>IntlDateFormatter::setPattern</methodname>
|
||||
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>datefmt_set_pattern</methodname>
|
||||
<methodparam><type>IntlDateFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a6591916b7cfe4072e7d9f6a3cec3e4b4b22f845 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<phpdoc:classref xml:id="class.locale" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>Locale sınıfı</title>
|
||||
<titleabbrev>Yerel</titleabbrev>
|
||||
@@ -63,7 +63,7 @@
|
||||
</classsynopsisinfo>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.locale')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.locale')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Locale'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.acceptfromhttp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::acceptFromHttp</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>locale_accept_from_http</methodname>
|
||||
<methodparam><type>string</type><parameter>başlık</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.composelocale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::composeLocale</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Locale::composeLocale</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>locale_compose</methodname>
|
||||
<methodparam><type>array</type><parameter>alt_yaftalar</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1af53eeb26908fff6e49a26069f3ca0d82e3c3ab Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.filtermatches" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::filterMatches</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>bool</type><type>null</type></type>
|
||||
@@ -25,7 +25,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>bool</type><type>null</type></type>
|
||||
<methodname>locale_filter_matches</methodname>
|
||||
<methodparam><type>string</type><parameter>dil_yaftası</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getallvariants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getAllVariants</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>array</type><type>null</type></type>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>null</type></type>
|
||||
<methodname>locale_get_all_variants</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getdefault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getDefault</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type>string</type><methodname>Locale::getDefault</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>locale_get_default</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getdisplaylanguage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getDisplayLanguage</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Locale::getDisplayLanguage</methodname>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>locale_get_display_language</methodname>
|
||||
<methodparam><type>string</type><parameter>hedef_yerel</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>adlandırma_yereli</parameter><initializer>&null;</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getdisplayname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getDisplayName</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Locale::getDisplayName</methodname>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>locale_get_display_name</methodname>
|
||||
<methodparam><type>string</type><parameter>hedef_yerel</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>adlandırma_yereli</parameter><initializer>&null;</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getdisplayregion" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getDisplayRegion</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Locale::getDisplayRegion</methodname>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>locale_get_display_region</methodname>
|
||||
<methodparam><type>string</type><parameter>ülke_yereli</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>adlandırma_yereli</parameter><initializer>&null;</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getdisplayscript" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getDisplayScript</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Locale::getDisplayScript</methodname>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>locale_get_display_script</methodname>
|
||||
<methodparam><type>string</type><parameter>yazı_yereli</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>adlandırma_yereli</parameter><initializer>&null;</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getdisplayvariant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getDisplayVariant</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Locale::getDisplayVariant</methodname>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>locale_get_display_variant</methodname>
|
||||
<methodparam><type>string</type><parameter>lehçe_yereli</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>adlandırma_yereli</parameter><initializer>&null;</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getkeywords" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getKeywords</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>Locale::getKeywords</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>locale_get_keywords</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getprimarylanguage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getPrimaryLanguage</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
<methodname>locale_get_primary_language</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getregion" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getRegion</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
<methodname>locale_get_region</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.getscript" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::getScript</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier><modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
<methodname>Locale::getScript</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
<methodname>locale_get_script</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.lookup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::lookup</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
@@ -26,7 +26,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>null</type></type>
|
||||
<methodname>locale_lookup</methodname>
|
||||
<methodparam><type>array</type><parameter>dil_yaftası</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.parselocale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::parseLocale</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>array</type><type>null</type></type>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>null</type></type>
|
||||
<methodname>locale_parse</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fcf444471febbbc7ad0a52f16303f6957362447 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="locale.setdefault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Locale::setDefault</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Locale">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type>bool</type><methodname>Locale::setDefault</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>locale_set_default</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4c2cddb29bd88492eff40c979fdf8f88c09e4ab2 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<phpdoc:classref xml:id="class.messageformatter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>MessageFormatter sınıfı</title>
|
||||
<titleabbrev>İleti Biçemleyici</titleabbrev>
|
||||
@@ -61,10 +61,10 @@
|
||||
</classsynopsisinfo>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.messageformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.messageformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='MessageFormatter'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.messageformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.messageformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='MessageFormatter'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: fcd8425e28458adeed18a0b2174b247ee1ac9c2d Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::create</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop; (yöntem)
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>MessageFormatter</type><type>null</type></type>
|
||||
@@ -24,7 +24,7 @@
|
||||
<para>
|
||||
&style.oop; (kurucu):
|
||||
</para>
|
||||
<constructorsynopsis>
|
||||
<constructorsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<methodname>MessageFormatter::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
@@ -33,7 +33,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>MessageFormatter</type><type>null</type></type>
|
||||
<methodname>msgfmt_create</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bbafea6c3de3dca08f2833b153fd6dbc772e7744 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.formatmessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::formatMessage</refname>
|
||||
@@ -12,24 +12,24 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>MessageFormatter::formatMessage</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>msgfmt_format_message</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Girdi dizgesini bir biçemleyici nesne oluşturmaya gerek bırakmaksızın
|
||||
@@ -63,7 +63,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsız_değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Biçem dizgesine yerleştirilecek bağımsız değişkenleri içeren dizi.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.format" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::format</refname>
|
||||
@@ -12,20 +12,20 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>MessageFormatter::format</methodname>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>msgfmt_format</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız değişkenler</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>bağımsız_değişkenler</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Yerelin kurallarına uygun olarak biçem dizgesi içine veri yerleştirerek
|
||||
@@ -46,7 +46,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>bağımsız değişkenler</parameter></term>
|
||||
<term><parameter>bağımsı_ değişkenler</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Biçem dizgesine yerleştirilecek bağımsız değişkenler.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.geterrorcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::getErrorCode</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>int</type><methodname>MessageFormatter::getErrorCode</methodname>
|
||||
<void />
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>msgfmt_get_error_code</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="messageformatter.geterrormessage">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::getErrorMessage</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>string</type><methodname>MessageFormatter::getErrorMessage</methodname>
|
||||
<void />
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>msgfmt_get_error_message</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.getlocale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::getLocale</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>string</type><methodname>MessageFormatter::getLocale</methodname>
|
||||
<void />
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>msgfmt_get_locale</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.getpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::getPattern</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>MessageFormatter::getPattern</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>msgfmt_get_pattern</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bbafea6c3de3dca08f2833b153fd6dbc772e7744 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.parsemessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::parseMessage</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>array</type><type>false</type></type>
|
||||
@@ -24,7 +24,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>false</type></type>
|
||||
<methodname>msgfmt_parse_message</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.parse" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::parse</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>array</type><type>false</type></type>
|
||||
<methodname>MessageFormatter::parse</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>false</type></type>
|
||||
<methodname>msgfmt_parse</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: fcd8425e28458adeed18a0b2174b247ee1ac9c2d Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="messageformatter.setpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MessageFormatter::setPattern</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="MessageFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>MessageFormatter::setPattern</methodname>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>msgfmt_set_pattern</methodname>
|
||||
<methodparam><type>MessageFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a6591916b7cfe4072e7d9f6a3cec3e4b4b22f845 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.normalizer" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>Normalizer sınıfı</title>
|
||||
<titleabbrev>Normalleştirici</titleabbrev>
|
||||
@@ -57,7 +57,7 @@
|
||||
</classsynopsisinfo>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.normalizer')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.normalizer')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Normalizer'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="normalizer.isnormalized" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>Normalizer::isNormalized</refname>
|
||||
@@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Normalizer">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type>bool</type><methodname>Normalizer::isNormalized</methodname>
|
||||
@@ -18,7 +18,7 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>biçim</parameter><initializer>Normalizer::FORM_C</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>normalizer_is_normalized</methodname>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>biçim</parameter><initializer>Normalizer::FORM_C</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9c5aaaab3cd80669dd42311e40d2486c359542af Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: nilgun Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="normalizer.normalize">
|
||||
<refnamediv>
|
||||
<refname>Normalizer::normalize</refname>
|
||||
@@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="Normalizer">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>Normalizer::normalize</methodname>
|
||||
@@ -18,7 +18,7 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>biçim</parameter><initializer>Normalizer::FORM_C</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>normalizer_normalize</methodname>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>biçim</parameter><initializer>Normalizer::FORM_C</initializer></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: a6591916b7cfe4072e7d9f6a3cec3e4b4b22f845 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 69b648925ff27355fde5cd6d4e6600bda652e9c8 Maintainer: haluk Status: ready -->
|
||||
<phpdoc:classref xml:id="class.numberformatter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>NumberFormatter sınıfı</title>
|
||||
<titleabbrev>Sayı Biçemleyici</titleabbrev>
|
||||
@@ -67,11 +67,10 @@
|
||||
</classsynopsisinfo>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.numberformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.numberformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='NumberFormatter'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.numberformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.numberformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='NumberFormatter'])">
|
||||
<xi:fallback/>
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::create</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<modifier>static</modifier>
|
||||
<type class="union"><type>NumberFormatter</type><type>null</type></type>
|
||||
@@ -25,7 +25,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>NumberFormatter</type><type>null</type></type>
|
||||
<methodname>numfmt_create</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
@@ -35,7 +35,7 @@
|
||||
<para>
|
||||
&style.oop; (kurucu):
|
||||
</para>
|
||||
<constructorsynopsis>
|
||||
<constructorsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<methodname>NumberFormatter::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>yerel</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bbafea6c3de3dca08f2833b153fd6dbc772e7744 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.formatcurrency" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::formatCurrency</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::formatCurrency</methodname>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>numfmt_format_currency</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bbafea6c3de3dca08f2833b153fd6dbc772e7744 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.format" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::format</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::format</methodname>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>numfmt_format</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.getattribute" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getAttribute</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>NumberFormatter::getAttribute</methodname>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>numfmt_get_attribute</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.geterrorcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getErrorCode</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>int</type><methodname>NumberFormatter::getErrorCode</methodname>
|
||||
<void/>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>numfmt_get_error_code</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.geterrormessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getErrorMessage</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>string</type><methodname>NumberFormatter::getErrorMessage</methodname>
|
||||
<void/>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>numfmt_get_error_message</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.getlocale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getLocale</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::getLocale</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>numfmt_get_locale</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.getpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getPattern</refname>
|
||||
@@ -13,7 +13,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::getPattern</methodname>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>numfmt_get_pattern</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.getsymbol" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getSymbol</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::getSymbol</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>numfmt_get_symbol</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.gettextattribute" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::getTextAttribute</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::getTextAttribute</methodname>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type>
|
||||
<methodname>numfmt_get_text_attribute</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19e8122137a1d42ed60f17fe2c0c2b69b0b2d16b Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.parsecurrency" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::parseCurrency</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>float</type><type>false</type></type>
|
||||
<methodname>NumberFormatter::parseCurrency</methodname>
|
||||
@@ -23,7 +23,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>float</type><type>false</type></type>
|
||||
<methodname>numfmt_parse_currency</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9fea4db87604ce62a1a9d7f443188455f4822eb6 Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.parse" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::parse</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>NumberFormatter::parse</methodname>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>numfmt_parse</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.setattribute" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::setAttribute</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>NumberFormatter::setAttribute</methodname>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>numfmt_set_attribute</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>öznitelik</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.setpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::setPattern</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>NumberFormatter::setPattern</methodname>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
@@ -20,7 +20,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>numfmt_set_pattern</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>kalıp</parameter></methodparam>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 19726d906f782efd4e7cd8c22068d65f0ab616db Maintainer: haluk Status: ready -->
|
||||
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: haluk Status: ready -->
|
||||
<refentry xml:id="numberformatter.setsymbol" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::setSymbol</refname>
|
||||
@@ -12,7 +12,7 @@
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis role="oop">
|
||||
<methodsynopsis role="NumberFormatter">
|
||||
<modifier>public</modifier>
|
||||
<type>bool</type><methodname>NumberFormatter::setSymbol</methodname>
|
||||
<methodparam><type>int</type><parameter>simge</parameter></methodparam>
|
||||
@@ -21,7 +21,7 @@
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis role="procedural">
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>numfmt_set_symbol</methodname>
|
||||
<methodparam><type>NumberFormatter</type><parameter>biçemleyici</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>simge</parameter></methodparam>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user