class TripalBundle
The class used for Tripal data type entities
Hierarchy
- class \TripalBundle extends \Entity
Expanded class hierarchy of TripalBundle
4 string references to 'TripalBundle'
- TripalBundle_load in tripal/
tripal.module - tripal_chado_entity_load in tripal_chado/
includes/ tripal_chado.entity.inc - Implements hook_entity_load().
- tripal_entity_info in tripal/
includes/ tripal.entity.inc - Implement hook_entity_info().
- tripal_load_bundle_entity in tripal/
api/ tripal.entities.api.inc - Retrieves a TripalBundle entity that matches the given arguments.
File
- tripal/
includes/ TripalBundle.inc, line 5
View source
class TripalBundle extends Entity {
public function __construct($values = array(), $entity_type) {
parent::__construct($values, $entity_type);
$this->term = tripal_load_term_entity(array('term_id' => $this->term_id));
$vocab = $this->term->vocab;
$this->accession = $vocab->vocabulary . ':' . $this->term->accession;
}
}
Members
Name | Modifiers | Type | Description |
---|---|---|---|
TripalBundle:: |
public | function |