chado_views_handler_relationship.inc 1.2 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Simple relationship handler that allows a new version of the chado primary table
  4. * to be linked in.
  5. *
  6. * The base relationship handler can only handle a single join. Some relationships
  7. * are more complex and might require chains of joins; for those, you must
  8. * utilize a custom relationship handler.
  9. *
  10. * Definition items:
  11. * - base: The new base table this relationship will be adding. This does not
  12. * have to be a declared base table, but if there are no tables that
  13. * utilize this base table, it won't be very effective.
  14. * - base field: The field to use in the relationship; if left out this will be
  15. * assumed to be the primary field.
  16. * - relationship table: The actual table this relationship operates against.
  17. * This is analogous to using a 'table' override.
  18. * - relationship field: The actual field this relationship operates against.
  19. * This is analogous to using a 'real field' override.
  20. * - label: The default label to provide for this relationship, which is
  21. * shown in parentheses next to any field/sort/filter/argument that uses
  22. * the relationship.
  23. */
  24. class chado_views_handler_relationship extends views_handler_relationship {
  25. }