Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/plugins/views_plugin_display_extender.inc
11 11
 * @ingroup views_display_plugins
12 12
 */
13 13
class views_plugin_display_extender extends views_plugin {
14
  function init(&$view, &$display) {
14

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

  
19

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

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

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

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

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

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

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

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

  
62 74
}

Formats disponibles : Unified diff