views_plugin_display_extender.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. /**
  13. * {@inheritdoc}
  14. */
  15. public function init(&$view, &$display) {
  16. $this->view = $view;
  17. $this->display = $display;
  18. }
  19. /**
  20. * Provide a form to edit options for this plugin.
  21. */
  22. public function options_definition_alter(&$options) {
  23. }
  24. /**
  25. * Provide a form to edit options for this plugin.
  26. */
  27. public function options_form(&$form, &$form_state) {
  28. }
  29. /**
  30. * Validate the options form.
  31. */
  32. public function options_validate(&$form, &$form_state) {
  33. }
  34. /**
  35. * Handle any special handling on the validate form.
  36. */
  37. public function options_submit(&$form, &$form_state) {
  38. }
  39. /**
  40. * Set up any variables on the view prior to execution.
  41. */
  42. public function pre_execute() {
  43. }
  44. /**
  45. * Inject anything into the query that the display_extender handler needs.
  46. */
  47. public function query() {
  48. }
  49. /**
  50. * Provide the default summary for options in the views UI.
  51. *
  52. * This output is returned as an array.
  53. */
  54. public function options_summary(&$categories, &$options) {
  55. }
  56. /**
  57. * Static member function to list which sections are defaultable
  58. * and what items each section contains.
  59. */
  60. public function defaultable_sections(&$sections, $section = NULL) {
  61. }
  62. }