summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc27
1 files changed, 15 insertions, 12 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc
index 1d7f161..7077104 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/modules/user.views.inc
@@ -1,17 +1,14 @@
<?php
-/**
- * @file
- * Provide views data and handlers for user.module
- */
/**
- * @defgroup views_user_module user.module handlers
+ * @file
+ * Provide views data and handlers for user.module.
*
- * @{
+ * @ingroup views_module_handlers
*/
/**
- * Implements hook_views_data()
+ * Implements hook_views_data().
*/
function user_views_data() {
// ----------------------------------------------------------------
@@ -75,6 +72,16 @@ function user_views_data() {
),
);
+ // uid_raw
+ $data['users']['uid_raw'] = array(
+ 'help' => t('The raw numeric user ID.'),
+ 'real field' => 'uid',
+ 'filter' => array(
+ 'title' => t('The user ID'),
+ 'handler' => 'views_handler_filter_numeric',
+ ),
+ );
+
// uid
$data['users']['uid_representative'] = array(
'relationship' => array(
@@ -521,7 +528,7 @@ function user_views_data() {
}
/**
- * Implements hook_views_plugins
+ * Implements hook_views_plugins().
*/
function user_views_plugins() {
return array(
@@ -566,7 +573,3 @@ function user_views_query_substitutions($view) {
global $user;
return array('***CURRENT_USER***' => intval($user->uid));
}
-
-/**
- * @}
- */