summaryrefslogtreecommitdiff
path: root/ext/enchant/enchant.stub.php
blob: 22533b9b8235d2ad1b909a96414a34dc6f411b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php

/** @return resource|false */
function enchant_broker_init() {}

/** @param resource $broker */
function enchant_broker_free($broker): bool {}

/**
* @param resource $broker
* @return string|false
*/
function enchant_broker_get_error($broker) {}

/** @param resource $broker */
function enchant_broker_set_dict_path($broker, int $name, string $value): bool {}

/** @param resource $broker */
function enchant_broker_get_dict_path($broker, int $name): string|false {}

/** @param resource $broker */
function enchant_broker_list_dicts($broker): array {}

/**
 * @param resource $broker
 * @return resource|false
 */
function enchant_broker_request_dict($broker, string $tag) {}

/**
 * @param resource $broker
 * @return resource|false
 */
function enchant_broker_request_pwl_dict($broker, string $filename) {}

/** @param resource $dict */
function enchant_broker_free_dict($dict): bool {}

/** @param resource $broker */
function enchant_broker_dict_exists($broker, string $tag): bool {}

/** @param resource $broker */
function enchant_broker_set_ordering($broker, string $tag, string $ordering): bool {}

/** @param resource $broker */
function enchant_broker_describe($broker): array {}

/** @param resource $dict */
function enchant_dict_quick_check($dict, string $word, &$suggestions = UNKNOWN): bool {}

/** @param resource $dict */
function enchant_dict_check($dict, string $word): bool {}

/** @param resource $dict */
function enchant_dict_suggest($dict, string $word): ?array {}

/** @param resource $dict */
function enchant_dict_add_to_personal($dict, string $word): void {}

/** @param resource $dict */
function enchant_dict_add_to_session($dict, string $word): void {}

/** @param resource $dict */
function enchant_dict_is_in_session($dict, string $word): bool {}

/** @param resource $dict */
function enchant_dict_store_replacement($dict, string $mis, string $cor): void {}

/** @param resource $dict */
function enchant_dict_get_error($dict): string|false {}

/** @param resource $dict */
function enchant_dict_describe($dict): array {}