You are here

function advuser_menu in Advanced User 7.4

Same name and namespace in other branches
  1. 5.2 advuser.module \advuser_menu()
  2. 5 advuser.module \advuser_menu()
  3. 6.3 advuser.module \advuser_menu()
  4. 6.2 advuser.module \advuser_menu()
  5. 7.3 advuser.module \advuser_menu()

Implements hook_menu().

File

./advuser.module, line 151
advuser.module

Code

function advuser_menu() {
  $items = array();
  $items['admin/people/advuser/session'] = array(
    'title' => 'advuser session getter',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer users',
    ),
    'page callback' => 'advuser_filter_get_all',
    'page arguments' => array(
      TRUE,
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/people/advuser/%/%/%/%'] = array(
    'title' => 'advuser session setter',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer users',
    ),
    'page callback' => 'advuser_filter_set',
    'page arguments' => array(
      3,
      4,
      5,
      6,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}