Home > PHP > Function > Enchant > enchant_broker_request_dict()

enchant_broker_request_dict()

enchant_broker_request_dict - create a new dictionary using a tag

Syntax

resource enchant_broker_request_dict (resource $broker, string $tag)

Arguments

  • broker - Broker resource
  • tag - A tag describing the locale, for example en_US, de_DE

Description

create a new dictionary using tag, the non-empty language tag you wish to request a dictionary for ("en_US", "de_DE",...)

Version

PHP PECL enchant >= 0.1.0

Return value

Returns a dictionary resource on success or FALSE on failure.