![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Base class for all AFS web services. More...
Public Member Functions | |
get_generated_url () | |
Retrieves the URL generated by previous call to send method. | |
send (array $parameters) | |
Sends a query. |
Protected Member Functions | |
get_web_service_name () | |
Retrieves web service name. | |
build_reply_as_associative_array ($value=true) | |
While decoding JSON stream, data can be decoded as associative array. | |
![]() | |
__construct ($host, AfsService $service=null, $scheme=null, SAI_CurlInterface $curlConnector=null) | |
Constructs new base connector. |
Base class for all AFS web services.
Base class for Search, ACP... web services.
Derived class of this class should implement get_web_service_name method.
|
protected |
While decoding JSON stream, data can be decoded as associative array.
By default, returned object are not converted to associate arrays.
$value | [in] true (default) to convert object to associative arrays, false to preserve objects as is. |
get_generated_url | ( | ) |
Retrieves the URL generated by previous call to send method.
This URL can be used as debug purpose.
null
when send has not yet been called.
|
protected |
Retrieves web service name.
Derived classes must implement this method.
Reimplemented in AfsSearchConnector, and AfsAcpConnector.
send | ( | array | $parameters | ) |
Sends a query.
Query is built using provided parameters.
$parameters | [in] list of parameters used to build the query. |
Implements AfsConnectorInterface.