summaryrefslogtreecommitdiff
path: root/ext/pspell/pspell.stub.php
blob: cf15fb35ebc1e73aa5460cce263971c47b76bf94 (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
<?php

/** @generate-function-entries */

function pspell_new(string $language, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0): int|false {}

function pspell_new_personal(
    string $filename,
    string $language,
    string $spelling = "",
    string $jargon = "",
    string $encoding = "",
    int $mode = 0
): int|false {}

function pspell_new_config(int $config): int|false {}

function pspell_check(int $dictionary, string $word): bool {}

function pspell_suggest(int $dictionary, string $word): array|false {}

function pspell_store_replacement(int $dictionary, string $misspelled, string $correct): bool {}

function pspell_add_to_personal(int $dictionary, string $word): bool {}

function pspell_add_to_session(int $dictionary, string $word): bool {}

function pspell_clear_session(int $dictionary): bool {}

function pspell_save_wordlist(int $dictionary): bool {}

function pspell_config_create(string $language, string $spelling = "", string $jargon = "", string $encoding = ""): int {}

function pspell_config_runtogether(int $config, bool $allow): bool {}

function pspell_config_mode(int $config, int $mode): bool {}

function pspell_config_ignore(int $config, int $min_length): bool {}

function pspell_config_personal(int $config, string $filename): bool {}

function pspell_config_dict_dir(int $config, string $directory): bool {}

function pspell_config_data_dir(int $config, string $directory): bool {}

function pspell_config_repl(int $config, string $filename): bool {}

function pspell_config_save_repl(int $config, bool $save): bool {}