Tripal
Public Member Functions | List of all members
Drupal\tripal\TripalStorage\IntStoragePropertyType Class Reference
Inheritance diagram for Drupal\tripal\TripalStorage\IntStoragePropertyType:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal\TripalStorage\IntStoragePropertyType:
Collaboration graph
[legend]

Public Member Functions

 __construct ($entityType, $fieldType, $key, $term_id, $storage_settings=[])
 
- Public Member Functions inherited from Drupal\tripal\TripalStorage\StoragePropertyTypeBase
 __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
 

Detailed Description

Defines the integer Tripal storage property type.

Constructor & Destructor Documentation

◆ __construct()

Drupal\tripal\TripalStorage\IntStoragePropertyType::__construct (   $entityType,
  $fieldType,
  $key,
  $term_id,
  $storage_settings = [] 
)

Constructs a new integer tripal storage property type.

Parameters
stringentityType The entity type associated with this property type.
stringfieldType The field type associated with this property type.
stringkey The key associated with this property type.
stringterm_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")
arraystorage_settings An array of settings required for this property by the storage backend.

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