public function TripalWebServiceResource::getContext

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

Retrieves the data section of the resource.

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

Return value

An associative array containing the data section of the response.

1 method overrides TripalWebServiceResource::getContext()
TripalWebServiceCollection::getContext in tripal_ws/includes/TripalWebServiceCollection.inc
Retrieves the data section of the resource.

File

tripal_ws/includes/TripalWebServiceResource.inc, line 358

Class

TripalWebServiceResource

Code

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