public function TripalWebService::setPath

3.x TripalWebService.inc public TripalWebService::setPath($path)

Sets the URL path for the resource being called.

Parameters

$path: An array containing the elements of the URL path. Each level of the URL appears in a separate element of the array. The service type and version are automatically removed from the array. For example, a URL of the type http://localhost/web-services/content/v0.1/Gene/sequence will result in a $path array containing the following:

    array(
      'Gene',
      'sequence',
    );
  

unknown $path:

File

tripal_ws/includes/TripalWebService.inc, line 130

Class

TripalWebService

Code

public function setPath($path) {
  $this->path = $path;
}