Query: enchant_broker_dict_exists
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ENCHANT_BROKER_DICT_EXISTS(3) 1 ENCHANT_BROKER_DICT_EXISTS(3) enchant_broker_dict_exists - Whether a dictionary exists or not. Using non-empty tagSYNOPSISbool enchant_broker_dict_exists (resource $broker, string $tag)DESCRIPTIONTells if a dictionary exists or not, using a non-empty tagsPARAMETERSo $broker - Broker resource o $tag - non-empty tag in the LOCALE format, ex: us_US, ch_DE, etc.RETURN VALUESReturns TRUE when the tag exist or FALSE when not.EXAMPLESExample #1 A enchant_broker_dict_exists(3) example <?php $tag = 'en_US'; $r = enchant_broker_init(); if (enchant_broker_dict_exists($r,$tag)) { echo $tag . " dictionary found. "; } ?>SEE ALSOenchant_broker_describe(3). PHP Documentation Group ENCHANT_BROKER_DICT_EXISTS(3)