![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Base class for reply helpers. More...
Public Member Functions | |
| __construct ($reply, AfsTextVisitorInterface $visitor) | |
| Constructs new instance. | |
| get_title () | |
| Retrieves formatted title reply. | |
| get_abstract () | |
| Retrieves formatted abstract reply. | |
| get_uri () | |
| Retrieves URI of the document. | |
| format () | |
| Retrieves reply data as array. | |
Public Member Functions inherited from AfsHelperBase | |
| __get ($name) | |
| Simple property helper. | |
Base class for reply helpers.
| __construct | ( | $reply, | |
| AfsTextVisitorInterface | $visitor | ||
| ) |
Constructs new instance.
| $reply | [in] should correspond to one reply. |
| $visitor | [in] visitor used to traverse title and abstract reply texts. |
Reimplemented in AfsReplyHelper.
| format | ( | ) |
Retrieves reply data as array.
All data are store in key => value format:
title: title of the reply, abstract: abstract of the reply, uri: URI of the reply.| get_abstract | ( | ) |
Retrieves formatted abstract reply.
| get_title | ( | ) |
Retrieves formatted title reply.
| get_uri | ( | ) |
Retrieves URI of the document.
1.8.1.2