enchant_broker_dict_exists
(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
enchant_broker_dict_exists — بررسی وجود یا عدم وجود دیکشنری با استفاده از برچسب غیر خالی
Description
bool enchant_broker_dict_exists
( resource $broker
, string $tag
)
بررسی وجود یا عدم وجود دیکشنری با استفاده از برچسب غیر خالی
Parameters
- broker
-
منبع Broker
- tag
-
برچسب غیرخالی در قالب LOCALE به عنوان مثال: us_US، ch_DE و غیره.
Return Values
بازگرداندن TRUE اگر برچسب موجود باشد یا FALSE در غیر این صورت.
Examples
Example #1 مثال enchant_broker_dict_exists()
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
echo $tag . " dictionary found.\n";
}
?>
There are no user contributed notes for this page.
