function fp_set_breadcrumbs

6.x misc.inc fp_set_breadcrumbs($arr = array())

Set our breadcrumbs array.

We expect the array to look like this: [0]['text'] = "Alerts"; [0]['path'] = "my/alerts"; [0]['query'] (optional) [0]['attributes'] (optional. Used exactly as in the l() function. [1] .... etc.

Here is a practical example of how to call this function:

$crumbs = array(); $crumbs[] = array( 'text' => 'Alerts', 'path' => 'alerts', );

fp_set_breadcrumbs($crumbs);

See also

l() )

fp_render_breadcrumbs();

13 calls to fp_set_breadcrumbs()
advise_display_history in modules/advise/advise.history.inc
Displays the history tab on screen.
advise_display_view in modules/advise/advise.module
This is the page which actually displays the "view" for the user to see their advising session, or for an advisor to advise them.
calendar_display_mobile_date_page in modules/calendar/calendar.module
This function is specifically for displaying the events on a particular day for the user, presumed to be in a mobile experience.
calendar_display_schedule_appointment_page in modules/calendar/calendar.module
This is the page which lets students schedule an appointment with the faculty member supplied in the user_id.
calendar_schedule_appointment_confirm_form in modules/calendar/calendar.module
The confirmation form the user will see once they have made their schedule selections.

... See full list

File

includes/misc.inc, line 1533
This file contains misc functions for FlightPath

Code

function fp_set_breadcrumbs($arr = array()) {
  $GLOBALS ['fp_breadcrumbs'] = $arr;
}