Source for file helper.php
Documentation is available at helper.php
* @subpackage mod_breadcrumbs
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Helper for mod_breadcrumbs
* @subpackage mod_breadcrumbs
public static function getList(&$params)
// Get the PathWay object from the application
$pathway =
$app->getPathway();
$items =
$pathway->getPathWay();
// Don't use $items here as it references JPathway properties directly
for ($i =
0; $i <
$count; $i ++
)
$crumbs[$i] =
new stdClass;
$crumbs[$i]->link =
JRoute::_($items[$i]->link);
if ($params->get('showHome', 1))
$item->link =
JRoute::_('index.php?Itemid=' .
$app->getMenu()->getDefault()->id);
* Set the breadcrumbs separator for the breadcrumbs display.
* @param string $custom Custom xhtml complient string to separate the
* items of the breadcrumbs
* @return string Separator string
// If a custom separator has not been provided we try to load a template
// specific one first, and if that is not present we load the default separator
$_separator =
JHtml::_('image', 'system/arrow_rtl.png', null, null, true);
$_separator =
JHtml::_('image', 'system/arrow.png', null, null, true);
Documentation generated on Tue, 19 Nov 2013 15:04:17 +0100 by phpDocumentor 1.4.3