![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Base class for AFS texts which accepts AfsTextVisitorInterface visitors. More...
Public Member Functions | |
__construct ($text) | |
Construct instance with appropriate text. | |
get_text () | |
Retrieve text. | |
accept (AfsTextVisitorInterface $visitor) | |
Accept visitors. |
Base class for AFS texts which accepts AfsTextVisitorInterface visitors.
__construct | ( | $text | ) |
Construct instance with appropriate text.
$text | [in] text associated to the instance. |
Reimplemented in AfsTruncateText, AfsMatchText, and AfsStringText.
accept | ( | AfsTextVisitorInterface | $visitor | ) |
Accept visitors.
$visitor | [in] visitor which implements AfsTextVisitorInterface. |
Exception | when necessary method has not been implemented in visitor. |
get_text | ( | ) |
Retrieve text.