Projet

Général

Profil

Paste
Télécharger (1,4 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / views / plugins / views_plugin_display_extender.inc @ 5d12d676

1
<?php
2

    
3
/**
4
 * @file
5
 * Definition of views_plugin_display_extender.
6
 */
7

    
8
/**
9
 * @todo.
10
 *
11
 * @ingroup views_display_plugins
12
 */
13
class views_plugin_display_extender extends views_plugin {
14

    
15
  /**
16
   * {@inheritdoc}
17
   */
18
  public function init(&$view, &$display) {
19
    $this->view = $view;
20
    $this->display = $display;
21
  }
22

    
23
  /**
24
   * Provide a form to edit options for this plugin.
25
   */
26
  public function options_definition_alter(&$options) {
27
  }
28

    
29
  /**
30
   * Provide a form to edit options for this plugin.
31
   */
32
  public function options_form(&$form, &$form_state) {
33
  }
34

    
35
  /**
36
   * Validate the options form.
37
   */
38
  public function options_validate(&$form, &$form_state) {
39
  }
40

    
41
  /**
42
   * Handle any special handling on the validate form.
43
   */
44
  public function options_submit(&$form, &$form_state) {
45
  }
46

    
47
  /**
48
   * Set up any variables on the view prior to execution.
49
   */
50
  public function pre_execute() {
51
  }
52

    
53
  /**
54
   * Inject anything into the query that the display_extender handler needs.
55
   */
56
  public function query() {
57
  }
58

    
59
  /**
60
   * Provide the default summary for options in the views UI.
61
   *
62
   * This output is returned as an array.
63
   */
64
  public function options_summary(&$categories, &$options) {
65
  }
66

    
67
  /**
68
   * Static member function to list which sections are defaultable
69
   * and what items each section contains.
70
   */
71
  public function defaultable_sections(&$sections, $section = NULL) {
72
  }
73

    
74
}