![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
AFS Back Office Web Service connector. More...
Public Member Functions | |
__construct ($host, AfsService $service=null, $scheme=AFS_SCHEME_HTTP, SAI_CurlInterface $curlConnector=null) | |
Constructs new Back Office Web Service connector. | |
get_http_headers ($context=null) | |
Default implementation: do nothing. | |
set_post_content (&$request, $context) | |
Default implementation: do nothing. |
AFS Back Office Web Service connector.
__construct | ( | $host, | |
AfsService | $service = null , |
||
$scheme = AFS_SCHEME_HTTP , |
|||
SAI_CurlInterface | $curlConnector = null |
||
) |
Constructs new Back Office Web Service connector.
$host | [in] server hosting the Antidot Back Office. |
$service | [in] Antidot service (see AfsService). |
$scheme | [in] Scheme for the connection URL see Connection scheme (default: AFS_SCHEME_HTTP). |
$curlConnector | [in] Connector to curl, useful for mocking curl calls |
InvalidArgumentException | invalid scheme parameter provided. |
Reimplemented from AfsConnectorBase.
Reimplemented in AfsAboutConnector.
get_http_headers | ( | $context = null | ) |
Default implementation: do nothing.
$context | [in] Query context (unused). |
null
. Reimplemented in AfsPafConnector, and AfsPafLiveConnector.
set_post_content | ( | & | $request, |
$context | |||
) |
Default implementation: do nothing.
$request | [in] CURL request (not used). |
$context | [in] Query context (unused). |
Reimplemented in AfsPafConnector, and AfsPafLiveConnector.