downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dcgettext> <bind_textdomain_codeset
Last updated: Fri, 13 Nov 2009

view this page in

bindtextdomain

(PHP 4, PHP 5)

bindtextdomainドメインのパスを設定する

説明

string bindtextdomain ( string $domain , string $directory )

bindtextdomain() 関数は、ドメインへのパスを設定します。

パラメータ

domain

ドメイン。

directory

ディレクトリのパス。

返り値

現在設定されているドメインへのフルパスを返します。

例1 bindtextdomain() の例

<?php

$domain 
'myapp';
echo 
bindtextdomain($domain'/usr/share/myapp/locale');

?>

上の例の出力は以下となります。

/usr/share/myapp/locale



add a note add a note User Contributed Notes
bindtextdomain
There are no user contributed notes for this page.

dcgettext> <bind_textdomain_codeset
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites