Antidot PHP API  version 0.16.0
##PHP API to simplify integration of Antidot components
 All Classes Files Functions Variables Groups Pages
Public Member Functions | List of all members
AfsSpellcheckTextVisitorInterface Interface Reference

Spellcheck text visitor interface to be used along with AfsSpellcheckBaseText or nie of its derived class. More...

Inheritance diagram for AfsSpellcheckTextVisitorInterface:
AfsSpellcheckTextVisitor

Public Member Functions

 visit_AfsSpellcheckText (AfsSpellcheckText $text)
 Visit AfsSpellcheckText instance.
 visit_AfsSpellcheckMatch (AfsSpellcheckMatch $text)
 Visit AfsSpellcheckMatch instance.

Detailed Description

Spellcheck text visitor interface to be used along with AfsSpellcheckBaseText or nie of its derived class.

Implementations of this interface should return AfsRawAndFormattedText with valid HTML text set for formatted text.

Member Function Documentation

visit_AfsSpellcheckMatch ( AfsSpellcheckMatch  $text)

Visit AfsSpellcheckMatch instance.

Parameters
$text[in] visited instance.
Returns
Implementations should return AfsRawAndFormattedText object.

Implemented in AfsSpellcheckTextVisitor.

visit_AfsSpellcheckText ( AfsSpellcheckText  $text)

Visit AfsSpellcheckText instance.

Parameters
$text[in] visited instance.
Returns
Implementations should return AfsRawAndFormattedText object.

Implemented in AfsSpellcheckTextVisitor.