README 1.1 KB

12345678910111213141516171819202122
  1. This folder contains all supplementary code needed for views integration
  2. of the chado dbxref and related tables.
  3. File Descriptions:
  4. ========================================================================
  5. <chado table name>.views.inc:
  6. contains a single function retrieve_<chado table name>_views_data()
  7. which describes that table to views. This function is called by
  8. <tripal module>_views_data() in ../<tripal module>.views.inc.
  9. For more information on the form of this data array look up the
  10. views2 documentation for hook_views_data()
  11. -http://views2.logrus.com/doc/html/index.html
  12. handlers/
  13. A folder which contains symbolic links to tripal_core/views_handlers/ files.
  14. Each file contained within this folder defines a views handler. Only custom
  15. handlers are included in this folder and each must be described in
  16. hook_views_handlers() in ../<tripal module>.views.inc.
  17. A views handler does one of the following:
  18. 1) describe the type of a field and how it should be displayed
  19. 2) describe a method to sort this field
  20. 3) describe a method to filter this field