![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Document manager. More...
Public Member Functions | |
| add_document (AfsDocument $doc, $id=null) | |
| Add new document to the manager. | |
| has_document () | |
| Check whether at least one document is registered. | |
| get_documents () | |
| Retrieve all managed documents. | |
Document manager.
Manage one or more documents to be sent to through Antidot Back Office APIs.
| add_document | ( | AfsDocument | $doc, |
$id = null |
|||
| ) |
Add new document to the manager.
| $doc | [in] new document to be managed (see AfsDocument). |
| $id | [in] identifier associated to the document (default: null). |
| InvalidArgumentException | when provided document is invalid. |
| get_documents | ( | ) |
Retrieve all managed documents.
| has_document | ( | ) |
Check whether at least one document is registered.
1.8.1.2