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 | Public Attributes | List of all members
AfsRawAndFormattedText Class Reference

Raw and formatted spellcheck text result of spellcheck visitor. More...

Public Member Functions

 __construct ($raw, $formatted=null)
 Constructs new instance with raw and formatted text.

Public Attributes

 $raw = null
 Raw text.
 $formatted = null
 formatted text.

Detailed Description

Raw and formatted spellcheck text result of spellcheck visitor.

Raw text is used to build new query whereas formatted text can be used to display result to final user.

Constructor & Destructor Documentation

__construct (   $raw,
  $formatted = null 
)

Constructs new instance with raw and formatted text.

If no formatted text is provided, raw text is also used as formatted text.

Parameters
$raw[in] raw text.
$formatted[in] formatted text.