public function TripalWebServiceResource::getData

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

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::getData()
TripalWebServiceCollection::getData in tripal_ws/includes/TripalWebServiceCollection.inc
Retrieves the data section of the resource.

File

tripal_ws/includes/TripalWebServiceResource.inc, line 344

Class

TripalWebServiceResource

Code

public function getData() {
  return $this->data;
}