Doc #66202 [Asn->Csd]: Enchant old docs
| From: | cmb@php.net | Date: | Sat, 25 Jun 2016 16:50:58 +0000 |
| Subject: | Doc #66202 [Asn->Csd]: Enchant old docs | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13616@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66202&edit=1
ID: 66202
Updated by: cmb@php.net
Reported by: enyby at yandex dot ru
Summary: Enchant old docs
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To: pajoye
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for your report. Apparently, that issue has already been
resolved in the meantime.
Previous Comments:
------------------------------------------------------------------------
[2013-11-29 13:13:22] enyby at yandex dot ru
Description:
------------
In Enchant 1.1.0 added few functions and constants not listed in php docs:
- add enchant_broker_set_dict_path and enchant_broker_get_dict_path. Allows custom locations for the
ispell and myspell dictionnaries
- add ENCHANT_ISPELL and ENCHANT_MYSPELL constants
From: http://pecl.php.net/package-changelog.php?package=enchant
---
From manual page: http://www.php.net/enchant.constants
---
Some code from enchant.c:
Test script:
---------------
#define PHP_ENCHANT_MYSPELL 1
#define PHP_ENCHANT_ISPELL 2
ZEND_BEGIN_ARG_INFO_EX(arginfo_enchant_broker_set_dict_path, 0, 0, 3)
ZEND_ARG_INFO(0, broker)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_enchant_broker_get_dict_path, 0, 0, 2)
ZEND_ARG_INFO(0, broker)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
PHP_FE(enchant_broker_set_dict_path, arginfo_enchant_broker_set_dict_path)
PHP_FE(enchant_broker_get_dict_path, arginfo_enchant_broker_get_dict_path)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66202&edit=1