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

search for in the

enchant_dict_get_error> <enchant_dict_check
Last updated: Fri, 13 Nov 2009

view this page in

enchant_dict_describe

(PECL enchant >= 0.1.0 )

enchant_dict_describe個々の辞書について説明する

説明

mixed enchant_dict_describe ( resource $dict )

辞書の詳細を返します。

パラメータ

dict

辞書リソース。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 enchant_broker_dict_describe() の例

辞書が存在するかどうかを enchant_broker_dict_exists() で調べ、 その詳細を表示します。

<?php
$tag 
'en_US';
$broker enchant_broker_init();
if (
enchant_broker_dict_exists($broker,$tag)) {
    
$dict enchant_broker_request_dict($r$tag);
    
$dict_details enchant_dict_describe($dict);
    
print_r($dict_details);
}
?>

上の例の出力は、 たとえば以下のようになります。

Array
(
    [lang] => en_US
    [name] => aspell
    [desc] => Aspell Provider
    [file] => /usr/lib/enchant/libenchant_aspell.so
)



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

enchant_dict_get_error> <enchant_dict_check
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites