function _charts_system_user_status_label in Charts 7
Same name and namespace in other branches
- 6 charts_system/charts_system.inc \_charts_system_user_status_label()
Translate the user status label code to a string
Parameters
status: Number. 1 for Active and 0 for Blocked
Return value
String. The given status
1 string reference to '_charts_system_user_status_label'
- _charts_system_charts in charts_system/
charts_system.inc - Chart reports page
File
- charts_system/
charts_system.inc, line 188 - @author Bruno Massa http://drupal.org/user/67164 @author TJ (based on his Chart module)
Code
function _charts_system_user_status_label($status) {
return $status ? t('Active') : t('Blocked');
}