Lines Matching refs:broker
2 proto bool enchant_broker_set_dict_path(resource broker, int dict_type, string value) function
3 proto string enchant_broker_get_dict_path(resource broker, int dict_type) function
15 $broker = enchant_broker_init();
21 if (is_object($broker)) {
24 if (enchant_broker_set_dict_path($broker, $dictTypeValue1, $backEndDictType1)) {
27 if (enchant_broker_set_dict_path($broker, $dictTypeValue2, $backEndDictType2)) {
31 (enchant_broker_get_dict_path($broker,$dictTypeValue1) == $backEndDictType1) &&
32 (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2)
37 echo("broker get dict path has failed \n");
41 echo("broker set dict path {$backEndDictType2} has failed \n");
44 echo("broker set dict path {$backEndDictType1} has failed \n");
47 echo("broker is not a resource; failed; \n");