summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc
index f8f10e9..e0f7abe 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/field/views_handler_argument_field_list.inc
@@ -1,18 +1,21 @@
<?php
+
/**
* @file
- * Contains views_handler_argument_field_list handler
+ * Definition of views_handler_argument_field_list.
*/
/**
- * Argument handler for list field to show the human readable name in the summary.
+ * Argument handler for list field to show the human readable name in the
+ * summary.
*
* @ingroup views_argument_handlers
*/
class views_handler_argument_field_list extends views_handler_argument_numeric {
/**
- * @var array
* Stores the allowed values of this field.
+ *
+ * @var array
*/
var $allowed_values = NULL;
@@ -24,7 +27,7 @@ class views_handler_argument_field_list extends views_handler_argument_numeric {
function option_definition() {
$options = parent::option_definition();
- $options['summary']['contains']['human'] = array('default' => FALSE);
+ $options['summary']['contains']['human'] = array('default' => FALSE, 'bool' => TRUE);
return $options;
}
@@ -35,7 +38,7 @@ class views_handler_argument_field_list extends views_handler_argument_numeric {
$form['summary']['human'] = array(
'#title' => t('Display list value as human readable'),
'#type' => 'checkbox',
- '#default_value' => $this->options['summary']['human'],#
+ '#default_value' => $this->options['summary']['human'],
'#dependency' => array('radio:options[default_action]' => array('summary')),
);
}
@@ -53,4 +56,3 @@ class views_handler_argument_field_list extends views_handler_argument_numeric {
}
}
}
-