![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Client data interface. More...
Public Member Functions | |
get_value ($name=null, $context=array(), $formatter=null) | |
Retrieves client data as text. | |
get_values ($name=null, $context=array(), $formatter=null) | |
Retrieves client data as array of texts. | |
get_node ($name=null, $context=array()) | |
Retrieves full client data node (value and attributes) | |
get_nodes ($name=null, $context=array()) | |
Retrieves full client data nodes (value and attributes) | |
get_mime_type () | |
Retrieve client data's mime type. |
Client data interface.
get_mime_type | ( | ) |
Retrieve client data's mime type.
Implemented in AfsJsonClientDataHelper, and AfsXmlClientDataHelper.
get_node | ( | $name = null , |
|
$context = array() |
|||
) |
Retrieves full client data node (value and attributes)
$name | [in] node name to be extracted |
$context | [in] context used for looking for node with specified name. |
Implemented in AfsJsonClientDataHelper, and AfsXmlClientDataHelper.
get_nodes | ( | $name = null , |
|
$context = array() |
|||
) |
Retrieves full client data nodes (value and attributes)
$name | [in] node name to be extracted |
$context | [in] context used for looking for node with specified name. |
Implemented in AfsJsonClientDataHelper, and AfsXmlClientDataHelper.
get_value | ( | $name = null , |
|
$context = array() , |
|||
$formatter = null |
|||
) |
Retrieves client data as text.
All client data or sub-tree can be retrieved depending on name parameter.
$name | [in] data name to be extracted (default=null, retrieve all client data). |
$context | [in] context used for looking for text with specified name. |
$formatter | [in] format output string. It is used when highlight in client data is activated. See implementation to provide appropriate formatter (default=null, default formatter is used). |
Implemented in AfsJsonClientDataHelper, and AfsXmlClientDataHelper.
get_values | ( | $name = null , |
|
$context = array() , |
|||
$formatter = null |
|||
) |
Retrieves client data as array of texts.
All client data or sub-tree can be retrieved depending on name parameter.
$name | [in] data name to be extracted (default=null, retrieve all client data). |
$context | [in] context used for looking for text with specified name. |
$formatter | [in] format output string. It is used when highlight in client data is activated. See implementation to provide appropriate formatter (default=null, default formatter is used). |
Implemented in AfsJsonClientDataHelper, and AfsXmlClientDataHelper.