public function TripalWebService::getData
3.x TripalWebService.inc | public TripalWebService::getData() |
Retrieves the data section of the response.
The JSON-LD response constists of two sections the '@context' section and the data section. This function only returns the data section of the response.
Return value
An associative array containing the data section of the response.
1 call to TripalWebService::getData()
- TripalWebService::getResponse in tripal_ws/
includes/ TripalWebService.inc - Returns the full web service response.
File
- tripal_ws/
includes/ TripalWebService.inc, line 280
Class
Code
public function getData() {
if ($this->resource) {
return $this->resource->getData();
}
return array();
}