function hook_alter_currently_advising_box

This will let us re-arrange or add new elements to the Currently Advising box, which appears at the top of the screen once a student has been selected (or for a student when they log in).

Values are stored as Strings for each element, in the format: label ~~ value For example: [0] Name: ~~ John Doe [1] Degree: ~~ Accounting

NOTE: Because of when this hook is invoked, the fpm() function will not work correctly to debug variables. Use ppm($var) instead.

File

includes/hook.api.php, line 78
Lists all available hooks within FlightPath's core code.

Code

function hook_alter_currently_advising_box(&$display_array) {

  // Add to the end...  
  $display_array [] = 'Extra: ~~ Values';

}