• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

plugins/views_plugin_style_summary_unformatted.inc

Go to the documentation of this file.
00001 <?php
00012 class views_plugin_style_summary_unformatted extends views_plugin_style_summary {
00013   function option_definition() {
00014     $options = parent::option_definition();
00015     $options['inline'] = array('default' => FALSE);
00016     $options['separator'] = array('default' => '');
00017     return $options;
00018   }
00019 
00020   function options_form(&$form, &$form_state) {
00021     parent::options_form($form, $form_state);
00022     $form['inline'] = array(
00023       '#type' => 'checkbox',
00024       '#default_value' => !empty($this->options['inline']),
00025       '#title' => t('Display items inline'),
00026     );
00027     $form['separator'] = array(
00028       '#type' => 'textfield',
00029       '#title' => t('Separator'),
00030       '#default_value' => $this->options['separator'],
00031     );
00032   }
00033 }

Generated on Sun Feb 26 2012 12:52:52 for Views by  doxygen 1.7.1