Package: PHPBoost\Environment Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2018 11 28 Since: PHPBoost 1.6 - 2007 02 16 Contributor: Julien BRISWALTER Contributor: Arnaud GENET Located at: phpboost/environment/BreadCrumb.class.php

This class is used to represent the bread crumb displayed on each page of the website. It enables the user to locate himself in the whole site. A bread crumb can look like this: Home >> My module >> First level category >> Second level category >> Third level category >> .. >> My page >> Edition

Methods summary
# add( string $text, string $target = '' )

Adds a link in the bread crumb. This link will be put at the end of the list.

# reverse( )

Reverses the whole list of the links. It's very useful when it's easier for you to make the list in the reverse way, at the end, you only need to reverse the list and it will be ok.

# remove_last( )

Removes the last link of the list

# display( Template $tpl )

Displays the bread crumb.

# clean( )

Removes all the existing links.

# set_graphical_environment( SiteDisplayGraphicalEnvironment $env )

Sets the reference to the parent graphical environment