public function TripalWebService::getServicePath
3.x TripalWebService.inc | public TripalWebService::getServicePath() |
Retrieves the service URL for this service.
10 calls to TripalWebService::getServicePath()
- TripalContentService_v0_1::addDocBundleClasses in tripal_ws/
includes/ TripalWebService/ TripalContentService_v0_1.inc - Adds classes for every content type to the documentation for this service.
- TripalContentService_v0_1::addDocBundleCollectionClass in tripal_ws/
includes/ TripalWebService/ TripalContentService_v0_1.inc - Every content type (bundle) needs a collection class in the documentation.
- TripalContentService_v0_1::doContentTypesList in tripal_ws/
includes/ TripalWebService/ TripalContentService_v0_1.inc - Creates a resources that contains the list of content types.
- TripalContentService_v0_1::doEntity in tripal_ws/
includes/ TripalWebService/ TripalContentService_v0_1.inc - Creates a resource for a single entity.
- TripalContentService_v0_1::doEntityList in tripal_ws/
includes/ TripalWebService/ TripalContentService_v0_1.inc - Creates a collection of resources for a given type.
File
- tripal_ws/
includes/ TripalWebService.inc, line 263
Class
Code
public function getServicePath() {
$class = get_class($this);
$version = $this->getVersion();
$type = $class::$type;
return $this->base_path . '/' . $type . '/' . $version;
}