diff options
author | Remi Collet <remi@remirepo.net> | 2023-11-23 08:20:16 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-11-23 08:20:16 +0100 |
commit | 51cde96fee9e970d399e91db0c019dc5a66f6317 (patch) | |
tree | da5bced68e546e8cc71a5f5bcf1ddf7985cc56bf /REFLECTION |
initial package for version 1.0.0 (PHP 8.4)
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..16876ff --- /dev/null +++ b/REFLECTION @@ -0,0 +1,210 @@ +Extension [ <persistent> extension #58 pspell version 1.0.0 ] { + + - Constants [4] { + Constant [ int PSPELL_FAST ] { 1 } + Constant [ int PSPELL_NORMAL ] { 2 } + Constant [ int PSPELL_BAD_SPELLERS ] { 3 } + Constant [ int PSPELL_RUN_TOGETHER ] { 8 } + } + + - Functions { + Function [ <internal:pspell> function pspell_new ] { + + - Parameters [5] { + Parameter #0 [ <required> string $language ] + Parameter #1 [ <optional> string $spelling = "" ] + Parameter #2 [ <optional> string $jargon = "" ] + Parameter #3 [ <optional> string $encoding = "" ] + Parameter #4 [ <optional> int $mode = 0 ] + } + - Return [ PSpell\Dictionary|false ] + } + Function [ <internal:pspell> function pspell_new_personal ] { + + - Parameters [6] { + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <required> string $language ] + Parameter #2 [ <optional> string $spelling = "" ] + Parameter #3 [ <optional> string $jargon = "" ] + Parameter #4 [ <optional> string $encoding = "" ] + Parameter #5 [ <optional> int $mode = 0 ] + } + - Return [ PSpell\Dictionary|false ] + } + Function [ <internal:pspell> function pspell_new_config ] { + + - Parameters [1] { + Parameter #0 [ <required> PSpell\Config $config ] + } + - Return [ PSpell\Dictionary|false ] + } + Function [ <internal:pspell> function pspell_check ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + Parameter #1 [ <required> string $word ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_suggest ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + Parameter #1 [ <required> string $word ] + } + - Return [ array|false ] + } + Function [ <internal:pspell> function pspell_store_replacement ] { + + - Parameters [3] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + Parameter #1 [ <required> string $misspelled ] + Parameter #2 [ <required> string $correct ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_add_to_personal ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + Parameter #1 [ <required> string $word ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_add_to_session ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + Parameter #1 [ <required> string $word ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_clear_session ] { + + - Parameters [1] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_save_wordlist ] { + + - Parameters [1] { + Parameter #0 [ <required> PSpell\Dictionary $dictionary ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_create ] { + + - Parameters [4] { + Parameter #0 [ <required> string $language ] + Parameter #1 [ <optional> string $spelling = "" ] + Parameter #2 [ <optional> string $jargon = "" ] + Parameter #3 [ <optional> string $encoding = "" ] + } + - Return [ PSpell\Config ] + } + Function [ <internal:pspell> function pspell_config_runtogether ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> bool $allow ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_mode ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> int $mode ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_ignore ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> int $min_length ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_personal ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> string $filename ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_dict_dir ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> string $directory ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_data_dir ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> string $directory ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_repl ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> string $filename ] + } + - Return [ bool ] + } + Function [ <internal:pspell> function pspell_config_save_repl ] { + + - Parameters [2] { + Parameter #0 [ <required> PSpell\Config $config ] + Parameter #1 [ <required> bool $save ] + } + - Return [ bool ] + } + } + + - Classes [2] { + Class [ <internal:pspell> final class PSpell\Dictionary ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:pspell> final class PSpell\Config ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + } +} + |