|
Tripal
|

Public Member Functions | |
| __construct ($entityType, $fieldType, $key, $term_id, $idspace_plugin_id='') | |
| getEntityType () | |
| getFieldType () | |
| getKey () | |
| getTermIdSpace () | |
| getTermAccession () | |
| getTerm () | |
Protected Attributes | |
| $idSpaceService | |
Base class for a Tripal storage property type or value.
| Drupal\tripal\TripalStorage\StoragePropertyBase::__construct | ( | $entityType, | |
| $fieldType, | |||
| $key, | |||
| $term_id, | |||
$idspace_plugin_id = '' |
|||
| ) |
Constructs a new Tripal storage property base object.
| string | $entityType | The entity type associated with this storage property base object. |
| string | $fieldType | The field type associated with this storage property base object. |
| string | $key | The key associated with this storage property base object. |
| string | $term_id | The controlled vocabulary term asssociated with this property. It must be in the form of "IdSpace:Accession" (e.g. "rdfs:label" or "OBI:0100026") |
| string | $idspace_plugin_id | The plugin_id associated with the term. This is optional but if provided allows a missing ID Space to be looked up in the backend storage. |
Reimplemented in Drupal\tripal_chado\TripalStorage\ChadoBoolStoragePropertyType, Drupal\tripal_chado\TripalStorage\ChadoDateTimeStoragePropertyType, Drupal\tripal_chado\TripalStorage\ChadoIntStoragePropertyType, Drupal\tripal_chado\TripalStorage\ChadoRealStoragePropertyType, and Drupal\tripal_chado\TripalStorage\ChadoTextStoragePropertyType.
| Drupal\tripal\TripalStorage\StoragePropertyBase::getEntityType | ( | ) |
Returns the entity type associated with this storage property object.
| Drupal\tripal\TripalStorage\StoragePropertyBase::getFieldType | ( | ) |
Returns the field type associated with this storage property object.
| Drupal\tripal\TripalStorage\StoragePropertyBase::getKey | ( | ) |
Returns the key associated with this storage property object.
| Drupal\tripal\TripalStorage\StoragePropertyBase::getTerm | ( | ) |
Gets the CV Term Object associated with this storage property.
| Drupal\tripal\TripalStorage\StoragePropertyBase::getTermAccession | ( | ) |
Returns the accession of the term for this storage property.
| Drupal\tripal\TripalStorage\StoragePropertyBase::getTermIdSpace | ( | ) |
Returns the name of the ID space of the term for this storage property.