You are here

function _session_limit_user_options in Session Limit 6.2

Same name and namespace in other branches
  1. 6 session_limit.module \_session_limit_user_options()
  2. 7.2 session_limit.module \_session_limit_user_options()

Helper function for formatting the settings option form.

2 calls to _session_limit_user_options()
session_limit_settings_byrole in ./session_limit.module
Session limit role configuration form.
session_limit_user_settings in ./session_limit.module
User settings form.

File

./session_limit.module, line 439
Limits multiple sessions per user.

Code

function _session_limit_user_options() {
  $options = drupal_map_assoc(range(0, 250));
  $options[0] = t('Default');
  $options['999999'] = t('Disabled');
  return $options;
}