|
Tripal 0.3b
|
Functions | |
| tripal_cv_views_data () | |
| tripal_cv_views_handlers () | |
| tripal_cv_views_default_views () | |
| retrieve_cv_views_data () | |
| retrieve_cvterm_views_data () | |
| retrieve_cv_views_data | ( | ) |
Prupose: this function returns a portion of the data array which describes the cv table, it's fields and any joins between it and other tables
TABLE: cv
create table cv (
cv_id serial not null,
primary key (cv_id),
name varchar(255) not null,
definition text,
constraint cv_c1 unique (name)
);
Definition at line 21 of file cv.views.inc.
Referenced by tripal_cv_views_data().
| retrieve_cvterm_views_data | ( | ) |
Purpose: this function returns the portion of the data array which describes the cv table, it's fields and any joins between it and other tables
BASE TABLE: cvterm
create table cvterm (
cvterm_id serial not null,
primary key (cvterm_id),
cv_id int not null,
foreign key (cv_id) references cv (cv_id) on delete cascade INITIALLY DEFERRED,
name varchar(1024) not null,
definition text,
dbxref_id int not null,
foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
is_obsolete int not null default 0,
is_relationshiptype int not null default 0,
constraint cvterm_c1 unique (name,cv_id,is_obsolete),
constraint cvterm_c2 unique (dbxref_id)
);
Definition at line 28 of file cvterm.views.inc.
Referenced by tripal_cv_views_data().
| tripal_cv_views_data | ( | ) |
Implements hook_views_data()
Purpose: Describe chado/tripal tables & fields to views
Definition at line 35 of file tripal_cv.views.inc.
References retrieve_cv_views_data(), and retrieve_cvterm_views_data().
| tripal_cv_views_default_views | ( | ) |
Definition at line 77 of file tripal_cv.views.inc.
| tripal_cv_views_handlers | ( | ) |
Implements hook_views_handlers()
Purpose: Register all custom handlers with views where a handler describes either "the type of field", "how a field should be filtered", "how a field should be sorted"
Definition at line 60 of file tripal_cv.views.inc.