|
Tripal
|


Public Member Functions | |
| __construct ($entityType, $fieldType, $key, $term_id, $entityId, $value=NULL) | |
| getEntityId () | |
| getValue () | |
| setValue ($value) | |
| getDefaultValue () | |
| setDefaultValue ($default_value) | |
Public Member Functions inherited from Drupal\tripal\TripalStorage\StoragePropertyBase | |
| __construct ($entityType, $fieldType, $key, $term_id, $idspace_plugin_id='') | |
| getEntityType () | |
| getFieldType () | |
| getKey () | |
| getTermIdSpace () | |
| getTermAccession () | |
| getTerm () | |
Additional Inherited Members | |
Protected Attributes inherited from Drupal\tripal\TripalStorage\StoragePropertyBase | |
| $idSpaceService | |
Defines the Tripal storage property value.
| Drupal\tripal\TripalStorage\StoragePropertyValue::__construct | ( | $entityType, | |
| $fieldType, | |||
| $key, | |||
| $term_id, | |||
| $entityId, | |||
$value = NULL |
|||
| ) |
Constructs a new tripal storage property value.
| string | $entityType | The entity type associated with this storage property value. |
| string | $fieldType | The field type associated with this storage property value. |
| string | $key | The key associated with this storage property value. |
| 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 | $entityId | The entity id associated with this storage property value. |
| ? | $value An optional initial value for this storage property value. |
| Drupal\tripal\TripalStorage\StoragePropertyValue::getDefaultValue | ( | ) |
Returns the default value of this storage property value.
| Drupal\tripal\TripalStorage\StoragePropertyValue::getEntityId | ( | ) |
Returns the entity id associated with this storage property value.
| Drupal\tripal\TripalStorage\StoragePropertyValue::getValue | ( | ) |
Returns the value of this storage property value.
| Drupal\tripal\TripalStorage\StoragePropertyValue::setDefaultValue | ( | $default_value | ) |
Sets the default value of this storage property value to the given value.
| mixed | $default_value | The value to use as the default value. |
| Drupal\tripal\TripalStorage\StoragePropertyValue::setValue | ( | $value | ) |
Sets the value of this storage property value to the given value.
| mixed | $value | The value. |