Manuel PHP
enchant_broker_dict_exists
(PECL enchant >= 0.1.0 )
enchant_broker_dict_exists — Vérifie si un dictionnaire existe
Description
bool enchant_broker_dict_exists
( resource $broker
, string $tag
)
Vérifie si un dictionnaire existe.
Liste de paramètres
- broker
-
Ressource de sponsor
- tag
-
langage, dans un format comme us_US, ch_DE, etc.
Valeurs de retour
Retourne TRUE si le langage existe, FALSE sinon.
Exemples
Exemple #1 Exemple avec enchant_broker_dict_exists()
- <?php
- $tag = 'en_US';
- $r = enchant_broker_init();
- if (enchant_broker_dict_exists($r,$tag)) {
- echo $tag . " dictionary found.\n";
- }
- ?>
Remonter 
