|
Tripal
|


Public Member Functions | |
| __construct ($entityType, $fieldType, $key, $term_id, $storage_settings=[], $idspace_plugin_id='') | |
| getDefaultValue () | |
Public Member Functions inherited from Drupal\tripal\TripalStorage\StoragePropertyTypeBase | |
| __construct ($entityType, $fieldType, $key, $term_id, $id, $storage_settings=[], $idspace_plugin_id='') | |
| getId () | |
| setCardinality (int $cardinality) | |
| getCardinality () | |
| setSearchability ($searchability) | |
| getSearchability () | |
| setOperations ($operations) | |
| getOperations () | |
| setSortable ($sortable) | |
| getSortable () | |
| setReadOnly ($readOnly) | |
| getReadOnly () | |
| setRequired ($required) | |
| getRequired () | |
| setCacheStatus (bool $status) | |
| getCacheStatus () | |
| getStorageSettings () | |
| setStorageSettings ($storage_settings) | |
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 | |
Public Attributes inherited from Drupal\tripal\TripalStorage\StoragePropertyTypeBase | |
| bool | $cache_status |
Protected Attributes inherited from Drupal\tripal\TripalStorage\StoragePropertyBase | |
| $idSpaceService | |
Defines the real Tripal storage property type.
Note: A real type is any real floating point number.
| Drupal\tripal\TripalStorage\RealStoragePropertyType::__construct | ( | $entityType, | |
| $fieldType, | |||
| $key, | |||
| $term_id, | |||
$storage_settings = [], |
|||
$idspace_plugin_id = '' |
|||
| ) |
Constructs a new real tripal storage property type.
| string | $entityType | The entity type associated with this property type. |
| string | $fieldType | The field type associated with this property type. |
| string | $key | The key associated with this property type. |
| 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") |
| array | $storage_settings | An array of settings required for this property by the storage backend. |
| 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. |
| Drupal\tripal\TripalStorage\RealStoragePropertyType::getDefaultValue | ( | ) |
Returns the default empty value of the correct type for this property.