![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
AFS reply meta data. More...
Public Member Functions | |
__construct ($meta) | |
Construct new instance from meta node. | |
get_feed () | |
Retrieve feed name of the reply. | |
get_total_replies () | |
Retrieve total number of replies for current feed. | |
get_replies_per_page () | |
Retrieves number of replies per page. | |
get_duration () | |
Retrieve reply computation time for the feed. | |
get_producer () | |
Retrieve producer type. | |
has_cluster () | |
Checks whether response contains clusters. | |
get_cluster_id () | |
Retrieves filter identifier used to clusterize. | |
get_cluster_label () | |
Retrieves filter label used to clusterize. | |
format () | |
Retrieve meta as array. | |
![]() | |
__get ($name) | |
Simple property helper. |
AFS reply meta data.
Wrapper to access main meta data.
__construct | ( | $meta | ) |
Construct new instance from meta
node.
$meta | [in] meta data node of AFS reply. |
format | ( | ) |
Retrieve meta as array.
All data are store in key => value
format:
feed:
feed name, total_replies:
total number of replies for current query, replies_per_page:
number of replies per page, duration:
time to compute the reply (in milliseconds), producer:
name of the producer agent.get_cluster_id | ( | ) |
Retrieves filter identifier used to clusterize.
get_cluster_label | ( | ) |
Retrieves filter label used to clusterize.
get_duration | ( | ) |
Retrieve reply computation time for the feed.
get_feed | ( | ) |
Retrieve feed name of the reply.
get_producer | ( | ) |
Retrieve producer type.
get_replies_per_page | ( | ) |
Retrieves number of replies per page.
get_total_replies | ( | ) |
Retrieve total number of replies for current feed.
has_cluster | ( | ) |
Checks whether response contains clusters.
True
in cluster mode, false
otherwise.