function user_stats_rules_events_variables in User Stats 7
Defines variables for user_stats_rules_event_info().
2 calls to user_stats_rules_events_variables()
- user_stats_rules_events_variables_day_older in ./
user_stats.rules.inc - Defines variables for user_stats_rules_event_info().
- user_stats_rules_event_info in ./
user_stats.rules.inc - Implements hook_rules_event_info().
File
- ./
user_stats.rules.inc, line 56 - Functions for integrating the Rules module with User Stats.
Code
function user_stats_rules_events_variables() {
return array(
'uid' => array(
'type' => 'number',
'hidden' => TRUE,
),
'statistic_value' => array(
'type' => 'number',
'label' => t('Value of the statistic'),
),
'user' => array(
'type' => 'user',
'label' => t("User who's statistics have changed"),
'handler' => 'user_stats_events_argument_user',
),
);
}