![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Spellcheck manager for simple texts and matched texts. More...
Public Member Functions | |
__construct (array $json_reply) | |
Constructs spellcheck text manager instance. | |
visit_text (AfsSpellcheckTextVisitorInterface $visitor) | |
Visit all text entries. |
Spellcheck manager for simple texts and matched texts.
__construct | ( | array | $json_reply | ) |
Constructs spellcheck text manager instance.
Each portion of spellcheck text (text, match) is extracted from input parameter and stored with appropriate text type.
$json_reply | [in] corresponds to one spellcheck reply in JSON format. |
Exception | when json_reply parameter is invalid. |
visit_text | ( | AfsSpellcheckTextVisitorInterface | $visitor | ) |
Visit all text entries.
$visitor | [in] Visitor used to traverse all text entries. |