<?php
/**
 * Discipline module Menu entries
 *
 * @uses $menu global var
 *
 * @see  Menu.php in root folder
 * 
 * @package RosarioSIS
 * @subpackage modules
 */

$menu['Discipline']['admin'] = [
	'title' => _( 'Discipline' ),
	'default' => 'Discipline/Referrals.php',
	'Discipline/MakeReferral.php' => _( 'Add Referral' ),
	'Discipline/Referrals.php' => _( 'Referrals' ),
	1 => _( 'Reports' ),
	'Discipline/CategoryBreakdown.php' => _( 'Category Breakdown' ),
	'Discipline/CategoryBreakdownTime.php' => _( 'Category Breakdown over Time' ),
	'Discipline/StudentFieldBreakdown.php' => _( 'Breakdown by Student Field' ),
	'Discipline/ReferralLog.php' => _( 'Discipline Log' ),
	2 => _( 'Setup' ),
	'Discipline/DisciplineForm.php' => _( 'Referral Form' ),
] + issetVal( $menu['Discipline']['admin'], [] );

$menu['Discipline']['teacher'] = [
	'title' => _( 'Discipline' ),
	'default' => 'Discipline/Referrals.php',
	'Discipline/MakeReferral.php' => _( 'Add Referral' ),
	'Discipline/Referrals.php' => _( 'Referrals' ),
] + issetVal( $menu['Discipline']['teacher'], [] );

$menu['Discipline']['parent'] = [
	'title' => _( 'Discipline' ),
	'default' => 'Discipline/Referrals.php',
	'Discipline/Referrals.php' => _( 'Referrals' ),
] + issetVal( $menu['Discipline']['parent'], [] );

$exceptions['Discipline'] = [
];
