1 | <?php |
---|
2 | // $Id: views_bonus_panels.views.inc,v 1.4 2009/06/30 19:22:24 neclimdul Exp $ |
---|
3 | /** |
---|
4 | * @file |
---|
5 | * Views include file with views hooks. |
---|
6 | */ |
---|
7 | |
---|
8 | /** |
---|
9 | * Implementation of hook_views_plugins(). |
---|
10 | */ |
---|
11 | function views_bonus_panels_views_plugins() { |
---|
12 | return array( |
---|
13 | 'style' => array( |
---|
14 | 'panels_threecol' => array( |
---|
15 | 'title' => t('Panels: 3 columns'), |
---|
16 | 'help' => t('Display views items devided into 3 columns.'), |
---|
17 | 'handler' => 'views_bonus_plugin_style_panels_threecol', |
---|
18 | 'theme' => 'views_bonus_panels_render', |
---|
19 | 'uses row plugin' => TRUE, |
---|
20 | 'type' => 'normal', |
---|
21 | ), |
---|
22 | 'panels_threecol_stack' => array( |
---|
23 | 'title' => t('Panels: 1 top + 3 columns'), |
---|
24 | 'help' => t('Display views items devided into 3 columns with the first item above.'), |
---|
25 | 'handler' => 'views_bonus_plugin_style_panels_threecol_stack', |
---|
26 | 'theme' => 'views_bonus_panels_render', |
---|
27 | 'uses row plugin' => TRUE, |
---|
28 | 'type' => 'normal', |
---|
29 | ), |
---|
30 | 'panels_twocol' => array( |
---|
31 | 'title' => t('Panels: 2 columns'), |
---|
32 | 'help' => t('Display views items devided into 2 columns.'), |
---|
33 | 'handler' => 'views_bonus_plugin_style_panels_twocol', |
---|
34 | 'theme' => 'views_bonus_panels_render', |
---|
35 | 'uses row plugin' => TRUE, |
---|
36 | 'type' => 'normal', |
---|
37 | ), |
---|
38 | 'panels_twocol_stack' => array( |
---|
39 | 'title' => t('Panels: 1 top + 2 columns'), |
---|
40 | 'help' => t('Display views items devided into 2 columns with the first item above.'), |
---|
41 | 'handler' => 'views_bonus_plugin_style_panels_twocol_stack', |
---|
42 | 'theme' => 'views_bonus_panels_render', |
---|
43 | 'uses row plugin' => TRUE, |
---|
44 | 'type' => 'normal', |
---|
45 | ), |
---|
46 | 'panels_threecol_term' => array( |
---|
47 | 'title' => t('Panels: Teasers, By Term, 3 columns'), |
---|
48 | 'help' => t('Not implemented.'), |
---|
49 | 'handler' => 'views_bonus_plugin_style_panels_threecol_term', |
---|
50 | 'theme' => 'views_bonus_panels_render', |
---|
51 | 'uses row plugin' => TRUE, |
---|
52 | 'type' => 'normal', |
---|
53 | ), |
---|
54 | ), |
---|
55 | ); |
---|
56 | } |
---|