Browse Source

Added @todo documentation to views integration source

laceysanderson 14 years ago
parent
commit
d1bbd264cc

+ 2 - 0
tripal_library/tripal_library.views.inc

@@ -60,6 +60,8 @@ function tripal_library_views_handlers() {
  *   All the results are stored in $view->result
  *   Looking up the NID here ensures the query is only executed once
  *   for all features in the table.
+ *
+ * @todo add if !<chado/drupal same db> around NID portion
  */
 function tripal_library_views_pre_render	(&$view) {
 	if (preg_match('/library/', $view->base_table)) {

+ 4 - 0
tripal_library/views/library.views.inc

@@ -4,6 +4,10 @@
  *   which describes the library table, it's fields and any joins between it and other tables
  * @see tripal_library_views_data() --in tripal_library.views.inc
  *
+ * @todo Add support for the following tables: library_cvterm, library_pub, library_synonym, libraryprop
+ * @todo Add support for multiple libraries listed per feature
+ * @todo Add join to node table within if <chado/drupal same db>; also addd if not around nid field
+ *
  * BASE TABLE: library
  * @code
  * create table library (

+ 2 - 0
tripal_organism/tripal_organism.views.inc

@@ -54,6 +54,8 @@ function tripal_organism_views_handlers() {
  *   All the results are stored in $view->result
  *   Looking up the NID here ensures the query is only executed once
  *   for all organisms in the table.
+ *
+ * @todo add if !<chado/drupal same db> around NID portion
  */
 function tripal_organism_views_pre_render	(&$view) {
 	if (preg_match('/organism/', $view->base_table)) {

+ 3 - 0
tripal_organism/views/organism.views.inc

@@ -5,6 +5,9 @@
  *   which describes the organism table, it's fields and any joins between it and other tables
  * @see tripal_organism_views_data() --in tripal_organism.views.inc
  *
+ * @todo Add support for the following tables: organismprop, organism_dbxref
+ * @todo Add join to node table within if <chado/drupal same db>; also addd if not around nid field
+ *
  * BASE TABLE: organism
  * @code
  * create table organism (