public function TripalWebService::getContext

3.x TripalWebService.inc public TripalWebService::getContext()

Retrieves the context section of the response.

The JSON-LD response constists of two sections the '@context' section and the data section. This function only returns the context section of the response.

Return value

An associative array containing the context section of the response.

File

tripal_ws/includes/TripalWebService.inc, line 188

Class

TripalWebService

Code

public function getContext() {
  return $this->resource->getContext();
}