Manuel PHP

enchant_broker_dict_exists

(PECL enchant >= 0.1.0 )

enchant_broker_dict_existsVé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()

  1. <?php
  2. $tag = 'en_US';  
  3. $r = enchant_broker_init();  
  4. if (enchant_broker_dict_exists($r,$tag)) { 
  5.    echo $tag . " dictionary found.\n";  
  6. }  
  7. ?> 


Remonter Remonter
Jamma Play - L'éditeur javascript - CSS - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique