function stats_menu

7.x stats.module stats_menu()
6.x stats.module stats_menu()
4.x stats.module stats_menu()
5.x stats.module stats_menu()

Implementation of hook_menu

Return value

unknown

File

modules/stats/stats.module, line 18
This module displays statistics and reports for FlightPath

Code

function stats_menu() {
  $items = array();

  $items ["admin-tools/stats"] = array(
    "title" => "Usage Stats & Reports",
    "page_callback" => "stats_display_main",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "menu_icon" => fp_theme_location() . "/images/popup.gif",
      "target" => "_blank",
    ),
    "type" => MENU_TYPE_NORMAL_ITEM,
  );


  $items ["stats/major-counts"] = array(
    "title" => "Major Counts",
    "page_callback" => "stats_report_major_counts",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "bool_print" => FALSE,
      "menu_links" => array(
        0 => array(
          "text" => "Main menu",
          "path" => "admin-tools/stats",
        ),
      ),
    ),
    "type" => MENU_TYPE_CALLBACK,
  );


  $items ["stats/selected-degree-options"] = array(
    "title" => "Selected Degree Options",
    "page_callback" => "stats_report_selected_degree_options",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "bool_print" => FALSE,
      "menu_links" => array(
        0 => array(
          "text" => "Main menu",
          "path" => "admin-tools/stats",
        ),
      ),
    ),
    "type" => MENU_TYPE_CALLBACK,
  );



  $items ["stats/access"] = array(
    "title" => "Access Stats",
    "page_callback" => "stats_report_access_stats",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "bool_print" => FALSE,
      "menu_links" => array(
        0 => array(
          "text" => "Main menu",
          "path" => "admin-tools/stats",
        ),
      ),
    ),
    "type" => MENU_TYPE_CALLBACK,
  );



  $items ["stats/advisor-use"] = array(
    "title" => "Advisor Use",
    "page_callback" => "stats_report_advisor_use",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "bool_print" => FALSE,
      "menu_links" => array(
        0 => array(
          "text" => "Main menu",
          "path" => "admin-tools/stats",
        ),
      ),
    ),
    "type" => MENU_TYPE_CALLBACK,
  );



  $items ["stats/student-course-list"] = array(
    "title" => "Student Course List",
    "page_callback" => "stats_report_student_course_list",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "bool_print" => FALSE,
      "menu_links" => array(
        0 => array(
          "text" => "Main menu",
          "path" => "admin-tools/stats",
        ),
      ),
    ),
    "type" => MENU_TYPE_CALLBACK,
  );




  $items ["stats/flightpath-use-summary"] = array(
    "title" => "FlightPath Use Summary",
    "page_callback" => "stats_report_flightpath_use_summary",
    "access_arguments" => array("can_access_stats"),
    "page_settings" => array(
      "page_show_title" => TRUE,
      "bool_print" => FALSE,
      "menu_links" => array(
        0 => array(
          "text" => "Main menu",
          "path" => "admin-tools/stats",
        ),
      ),
    ),
    "type" => MENU_TYPE_CALLBACK,
  );



  return $items;
}