Tripal
Public Member Functions | Static Public Attributes | List of all members
TripalContentService_v0_1 Class Reference
Inheritance diagram for TripalContentService_v0_1:
Inheritance graph
[legend]
Collaboration diagram for TripalContentService_v0_1:
Collaboration graph
[legend]

Public Member Functions

 __construct ($base_path)
 
 getDocumentation ()
 
 handleRequest ()
 
- Public Member Functions inherited from TripalWebService
 setPath ($path)
 
 setParams ($params)
 
 getVersion ($sanitize=FALSE)
 
 getContext ()
 
 getResponse ()
 
 getServicePath ()
 
 getData ()
 
 setResource ($resource)
 
 setError ($message)
 
 addResourceProperty ($resource, $term, $value, $sanitize=[])
 
 setResourceType ($resource, $term, $sanitize=['spacing'])
 

Static Public Attributes

static $label = 'Content Types'
 
static $description = 'Provides acesss to the biological and ancilliary data available on this site. Each content type represents biological data that is defined in a controlled vocabulary (e.g. Sequence Ontology term: gene (SO:0000704)).'
 
static $type = 'content'
 
- Static Public Attributes inherited from TripalWebService
static $label = 'Base WebService'
 
static $description = 'This is the base class for Tripal web services as is not meant to be used on it\'s own'
 
static $type = 'services'
 

Additional Inherited Members

- Protected Member Functions inherited from TripalWebService
 addDocClass ($details=[], $ops=[], $props=[])
 
 getContextTerm ($term, $sanitize=[])
 
 addContextTerm ($resource, $term, $sanitize=[])
 
 addContextVocab ($resource, $vocab)
 
- Protected Attributes inherited from TripalWebService
 $resource
 
 $path
 
 $params
 
 $base_path
 
 $documentation
 

Constructor & Destructor Documentation

◆ __construct()

TripalContentService_v0_1::__construct (   $base_path)

Implements the constructor

Reimplemented from TripalWebService.

Member Function Documentation

◆ getDocumentation()

TripalContentService_v0_1::getDocumentation ( )

◆ handleRequest()

TripalContentService_v0_1::handleRequest ( )

Member Data Documentation

◆ $description

TripalContentService_v0_1::$description = 'Provides acesss to the biological and ancilliary data available on this site. Each content type represents biological data that is defined in a controlled vocabulary (e.g. Sequence Ontology term: gene (SO:0000704)).'
static

A bit of text to describe what this service provides.

◆ $label

TripalContentService_v0_1::$label = 'Content Types'
static

The human-readable label for this web service.

◆ $type

TripalContentService_v0_1::$type = 'content'
static

A machine-readable type for this service. This name must be unique among all Tripal web services and is used to form the URL to access this service.


The documentation for this class was generated from the following file: