enchant_broker_dict_exists
enchant_broker_dict_exists
Whether a dictionary exists or not. Using non-empty tag
bool **enchant_broker_dict_exists** EnchantBroker $broker string $tag
Tells if a dictionary exists or not, using a non-empty tags
tagnon-empty tag in the LOCALE format, ex: us_US, ch_DE, etc.
Returns true when the tag exist or false when not.
Voorbeeld: A example
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
echo $tag . " dictionary found.\n";
}
?>
enchant_broker_describe