stableversion-3.0
Last change
on this file since a8b1f3f was
59029b2,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se actualizo la version del modulo views
|
-
Propiedad mode establecida a
100644
|
File size:
877 octetos
|
Línea | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * @file |
---|
4 | * Contains the unformatted summary style plugin. |
---|
5 | */ |
---|
6 | |
---|
7 | /** |
---|
8 | * The default style plugin for summaries. |
---|
9 | * |
---|
10 | * @ingroup views_style_plugins |
---|
11 | */ |
---|
12 | class views_plugin_style_summary_unformatted extends views_plugin_style_summary { |
---|
13 | function option_definition() { |
---|
14 | $options = parent::option_definition(); |
---|
15 | $options['inline'] = array('default' => FALSE); |
---|
16 | $options['separator'] = array('default' => ''); |
---|
17 | return $options; |
---|
18 | } |
---|
19 | |
---|
20 | function options_form(&$form, &$form_state) { |
---|
21 | parent::options_form($form, $form_state); |
---|
22 | $form['inline'] = array( |
---|
23 | '#type' => 'checkbox', |
---|
24 | '#default_value' => !empty($this->options['inline']), |
---|
25 | '#title' => t('Display items inline'), |
---|
26 | ); |
---|
27 | $form['separator'] = array( |
---|
28 | '#type' => 'textfield', |
---|
29 | '#title' => t('Separator'), |
---|
30 | '#default_value' => $this->options['separator'], |
---|
31 | ); |
---|
32 | } |
---|
33 | } |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.