downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

enchant_broker_free_dict> <enchant_broker_describe
[edit] Last updated: Fri, 17 May 2013

view this page in

enchant_broker_dict_exists

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )

enchant_broker_dict_existsSi existe o no un diccionario. Usando una etiqueta no vacía

Descripción

bool enchant_broker_dict_exists ( resource $broker , string $tag )

Indica si un diccionario existo o no, usando etiquetas no vacías

Parámetros

broker

Recurso de agente

tag

Etiqueta no vacía en el formato REGINAL, ej.: us_US, ch_DE, etc.

Valores devueltos

Devuelve TRUE cuando existe la etiqueta o FALSE cuando no.

Ejemplos

Ejemplo #1 Un ejemplo de enchant_broker_dict_exists()

<?php
$etiqueta 
'en_US';
$r enchant_broker_init();
if (
enchant_broker_dict_exists($r,$etiqueta)) {
    echo 
"Diccionario " $etiqueta " encontrado.\n";
}
?>

Ver también



add a note add a note User Contributed Notes enchant_broker_dict_exists - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites