jstree_sidebar_menu

Description

This function prints out the navigation sidebar to the left of several screens.

Usage

<?php jstree_sidebar_menu($screen, $crse = '', $sect = '', $nae = '', $staff = '', $spro = '', $prog = ''); ?>

Parameters

$screen (string) (required) Screen name or acronym.

$crse (mixed) (optional) Course object.

$sect (mixed) (optional) Course section object.

$nae (array) (optional) Name and address array.

$staff (mixed) (optional) Staff object.

$spro (mixed) (optional) Student profile object.

$prog (mixed) (optional) Academic program object.

Return Values

(mixed)  Includes file for menu.

Examples

Include sidebar on a course section screen when the $sect database object is available.

$screen = 'sect'
jstree_sidebar_menu($screen, '', $sect);

Notes

Change Log

Since 6.1.00

Source File

jstree_sidebar_menu() is located in app/functions/hook-function.php.