php-src/ext/enchant/enchant.stub.php
Máté Kocsis 811f6dd8e5
Review parameter names in ext/enchant
Closes GH-6258
2020-10-02 11:55:46 +02:00

71 lines
2.2 KiB
PHP

<?php
/** @generate-function-entries */
final class EnchantBroker
{
}
final class EnchantDictionary
{
}
function enchant_broker_init(): EnchantBroker|false {}
/** @deprecated */
function enchant_broker_free(EnchantBroker $broker): bool {}
function enchant_broker_get_error(EnchantBroker $broker): string|false {}
/** @deprecated */
function enchant_broker_set_dict_path(EnchantBroker $broker, int $type, string $path): bool {}
/** @deprecated */
function enchant_broker_get_dict_path(EnchantBroker $broker, int $type): string|false {}
function enchant_broker_list_dicts(EnchantBroker $broker): array {}
function enchant_broker_request_dict(EnchantBroker $broker, string $tag): EnchantDictionary|false {}
function enchant_broker_request_pwl_dict(EnchantBroker $broker, string $filename): EnchantDictionary|false {}
/** @deprecated */
function enchant_broker_free_dict(EnchantDictionary $dictionary): bool {}
function enchant_broker_dict_exists(EnchantBroker $broker, string $tag): bool {}
function enchant_broker_set_ordering(EnchantBroker $broker, string $tag, string $ordering): bool {}
function enchant_broker_describe(EnchantBroker $broker): array {}
/** @param array $suggestions */
function enchant_dict_quick_check(EnchantDictionary $dictionary, string $word, &$suggestions = null): bool {}
function enchant_dict_check(EnchantDictionary $dictionary, string $word): bool {}
function enchant_dict_suggest(EnchantDictionary $dictionary, string $word): array {}
function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {}
/**
* @alias enchant_dict_add
* @deprecated
*/
function enchant_dict_add_to_personal(EnchantDictionary $dictionary, string $word): void {}
function enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void {}
function enchant_dict_is_added(EnchantDictionary $dictionary, string $word): bool {}
/**
* @alias enchant_dict_is_added
* @deprecated
*/
function enchant_dict_is_in_session(EnchantDictionary $dictionary, string $word): bool {}
function enchant_dict_store_replacement(EnchantDictionary $dictionary, string $misspelled, string $correct): void {}
function enchant_dict_get_error(EnchantDictionary $dictionary): string|false {}
function enchant_dict_describe(EnchantDictionary $dictionary): array {}