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