views_plugin_display_extender.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * @file
  4. * Definition of views_plugin_display_extender.
  5. */
  6. /**
  7. * @todo.
  8. *
  9. * @ingroup views_display_plugins
  10. */
  11. class views_plugin_display_extender extends views_plugin {
  12. function init(&$view, &$display) {
  13. $this->view = $view;
  14. $this->display = $display;
  15. }
  16. /**
  17. * Provide a form to edit options for this plugin.
  18. */
  19. function options_definition_alter(&$options) { }
  20. /**
  21. * Provide a form to edit options for this plugin.
  22. */
  23. function options_form(&$form, &$form_state) { }
  24. /**
  25. * Validate the options form.
  26. */
  27. function options_validate(&$form, &$form_state) { }
  28. /**
  29. * Handle any special handling on the validate form.
  30. */
  31. function options_submit(&$form, &$form_state) { }
  32. /**
  33. * Set up any variables on the view prior to execution.
  34. */
  35. function pre_execute() { }
  36. /**
  37. * Inject anything into the query that the display_extender handler needs.
  38. */
  39. function query() { }
  40. /**
  41. * Provide the default summary for options in the views UI.
  42. *
  43. * This output is returned as an array.
  44. */
  45. function options_summary(&$categories, &$options) { }
  46. /**
  47. * Static member function to list which sections are defaultable
  48. * and what items each section contains.
  49. */
  50. function defaultable_sections(&$sections, $section = NULL) { }
  51. }