You are here

function opigno_in_house_training_app_menu in Opigno in house training app 7

File

./opigno_in_house_training_app.module, line 130

Code

function opigno_in_house_training_app_menu() {
  $items = array();
  $items['node/%node/score'] = array(
    'title' => 'Score in house lesson',
    'description' => 'Score in house lesson',
    'page callback' => 'opigno_in_house_score_page',
    // the function to be called when link is clicked [below]
    'page arguments' => array(
      1,
    ),
    // arguments for the callback function 'profile_use_page'
    'access callback' => "opigno_in_house_training_app_access_score",
    'access arguments' => array(
      1,
    ),
    // permission
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}