src/ShopBundle/objects/TCMSTableEditor/TCMSTableEditorShopCategory.class.php
public static function GetNavigationBreadCrumbs($id, $sLanguageID = null)
    {
        $sBreadCrumb = '';
        $oCategory = TdbShopCategory::GetNewInstance();
        if (!is_null($sLanguageID)) {
            $oCategory->SetLanguage($sLanguageID);
        }
        /** @var $oCategory TdbShopCategory */
        if (!$oCategory->Load($id)) {
            $oCategory = null;
        }
        if (!is_null($oCategory)) {
            $oCategoryBreadcrumb = &$oCategory->GetBreadcrumb();
            $oCategoryBreadcrumb->GoToStart();
            while ($oCategoryItem = $oCategoryBreadcrumb->Next()) {
                $sBreadCrumb .= '/'.self::getUrlNormalizationUtil()->normalizeUrl($oCategoryItem->GetName());
            }
        }

        return $sBreadCrumb;
    }
public static function GetNavigationBreadCrumbs($id, $sLanguageID = null)
    {
        $sBreadCrumb = '';
        $oCategory = TdbShopCategory::GetNewInstance();
        if (!is_null($sLanguageID)) {
            $oCategory->SetLanguage($sLanguageID);
        }
        /** @var $oCategory TdbShopCategory */
        if (!$oCategory->Load($id)) {
            $oCategory = null;
        }
        if (!is_null($oCategory)) {
            $oCategoryBreadcrumb = &$oCategory->GetBreadcrumb();
            $oCategoryBreadcrumb->GoToStart();
            while ($oCategoryItem = $oCategoryBreadcrumb->Next()) {
                $sBreadCrumb .= '/'.self::getUrlNormalizationUtil()->normalizeUrl($oCategoryItem->GetName());
            }
        }

        return $sBreadCrumb;
    }
public static function GetNavigationBreadCrumbs ( $ id , $ sLanguageID = null ) { $ sBreadCrumb = '' ; $ oCategory = TdbShopCategory :: GetNewInstance ( ) ; if ( ! is_null ( $ sLanguageID ) ) { $ oCategory -> SetLanguage ( $ sLanguageID ) ; } /** @var $oCategory TdbShopCategory */ if ( ! $ oCategory -> Load ( $ id ) ) { $ oCategory = null ; } if ( ! is_null ( $ oCategory ) ) { $ oCategoryBreadcrumb = & $ oCategory -> GetBreadcrumb ( ) ; $ oCategoryBreadcrumb -> GoToStart ( ) ; while ( $ oCategoryItem = $ oCategoryBreadcrumb -> Next ( ) ) { $ sBreadCrumb .= '/' . self :: getUrlNormalizationUtil ( ) -> normalizeUrl ( $ oCategoryItem -> GetName ( ) ) ; } } return $ sBreadCrumb ; }
returns the breadcrumb navigation as plaintext.

@param string $id          - id of the page to update
@param string $sLanguageID

@return string
returns the breadcrumb navigation as plaintext .