|
Tripal
|


Public Member Functions | |
| __construct ($entityType, $fieldType, $key, $term_id, $id, $storage_settings=[]) | |
| getId () | |
| setCardinality (int $cardinality) | |
| getCardinality () | |
| setSearchability ($searchability) | |
| getSearchability () | |
| setOperations ($operations) | |
| getOperations () | |
| setSortable ($sortable) | |
| getSortable () | |
| setReadOnly ($readOnly) | |
| getReadOnly () | |
| setRequired ($required) | |
| getRequired () | |
| getStorageSettings () | |
| setStorageSettings ($storage_settings) | |
Public Member Functions inherited from Drupal\tripal\TripalStorage\StoragePropertyBase | |
| __construct ($entityType, $fieldType, $key, $term_id) | |
| getEntityType () | |
| getFieldType () | |
| getKey () | |
| getTermIdSpace () | |
| getTermAccession () | |
| getTerm () | |
Additional Inherited Members | |
Protected Attributes inherited from Drupal\tripal\TripalStorage\StoragePropertyBase | |
| $idSpaceService | |
Base class for a Tripal storage property type.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::__construct | ( | $entityType, | |
| $fieldType, | |||
| $key, | |||
| $term_id, | |||
| $id, | |||
$storage_settings = [] |
|||
| ) |
Constructs a new tripal storage property type base.
| string | entityType The entity type associated with this storage property type base. |
| string | fieldType The field type associated with this storage property type base. |
| string | key The key associated with this storage property type base. |
| 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 | id The id of this storage property type base. |
| array | storage_settings An array of settings required for this property by the storage backend. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getCardinality | ( | ) |
Gets the cardinality.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getId | ( | ) |
Returns the id of this storage property type base.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getOperations | ( | ) |
Gets the supported operations.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getReadOnly | ( | ) |
Gets the read only property.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getRequired | ( | ) |
Gets the required property.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getSearchability | ( | ) |
Gets the searchability.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getSortable | ( | ) |
Gets the sortable property.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::getStorageSettings | ( | ) |
Gets the storage settings for this property type.
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setCardinality | ( | int | $cardinality | ) |
Sets the cardinality.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| int | $cardinality | The cardinality. A value of 0 indicates unlimited values. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setOperations | ( | $operations | ) |
Sets the supported operations.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
Valid operations are (eq,ne,contains,starts).
| bool | $searchability | The operations. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setReadOnly | ( | $readOnly | ) |
Sets the read only property.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| bool | $readOnly | The read only property. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setRequired | ( | $required | ) |
Sets the required property.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| bool | $required | The required property. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setSearchability | ( | $searchability | ) |
Sets the searchability.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| bool | $searchability | The searchability. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setSortable | ( | $sortable | ) |
Sets the sortable property.
NOTE: Currently this is not being used but was part of the original design. We are leaving this here for now + intend to go back and discuss with Josh.
| bool | $sortable | The sortable property. |
| Drupal\tripal\TripalStorage\StoragePropertyTypeBase::setStorageSettings | ( | $storage_settings | ) |
| array | $storage_settings |