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
16 $broker = enchant_broker_init();
22 if (is_object($broker)) {
25 if (enchant_broker_set_dict_path($broker, $dictTypeValue1, $backEndDictType1)) {
28 if (enchant_broker_set_dict_path($broker, $dictTypeValue2, $backEndDictType2)) {
32 (enchant_broker_get_dict_path($broker,$dictTypeValue1) == $backEndDictType1) &&
33 (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2)
38 echo("broker get dict path has failed \n");
42 echo("broker set dict path {$backEndDictType2} has failed \n");
45 echo("broker set dict path {$backEndDictType1} has failed \n");
48 echo("broker is not a resource; failed; \n");