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

search for in the

enchant_broker_free_dict> <enchant_broker_describe
[edit] Last updated: Fri, 24 May 2013

view this page in

enchant_broker_dict_exists

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )

enchant_broker_dict_exists辞書が存在するかどうかを調べる。空でないタグを使用する

説明

bool enchant_broker_dict_exists ( resource $broker , string $tag )

辞書が存在するかどうかを調べます。空でないタグを使用します。

パラメータ

broker

ブローカーリソース。

tag

空でない、LOCALE 形式のタグ。例: us_US、ch_DE など。

返り値

タグが存在する場合に TRUE、存在しない場合に FALSE を返します。

例1 enchant_broker_dict_exists() の例

<?php
$tag 
'en_US';
$r enchant_broker_init();
if (
enchant_broker_dict_exists($r,$tag)) {
    echo 
$tag " の辞書が見つかりました。\n";
}
?>

参考



add a note add a note User Contributed Notes enchant_broker_dict_exists - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites