src/ShopBundle/objects/db/TShopCategory.class.php
public function &GetBreadcrumb()
    {
        $oBreadCrumb = &$this->GetFromInternalCache('oCategoryBreadcrumb');
        if (is_null($oBreadCrumb)) {
            $oBreadCrumb = &TdbShopCategoryList::GetCategoryPath($this->id, null, $this->GetLanguage());
            $this->SetInternalCache('oCategoryBreadcrumb', $oBreadCrumb);
        } else {
            $oBreadCrumb->GoToStart();
        }

        return $oBreadCrumb;
    }
public function &GetBreadcrumb()
    {
        $oBreadCrumb = &$this->GetFromInternalCache('oCategoryBreadcrumb');
        if (is_null($oBreadCrumb)) {
            $oBreadCrumb = &TdbShopCategoryList::GetCategoryPath($this->id, null, $this->GetLanguage());
            $this->SetInternalCache('oCategoryBreadcrumb', $oBreadCrumb);
        } else {
            $oBreadCrumb->GoToStart();
        }

        return $oBreadCrumb;
    }
public function & GetBreadcrumb ( ) { $ oBreadCrumb = & $ this -> GetFromInternalCache ( 'oCategoryBreadcrumb' ) ; if ( is_null ( $ oBreadCrumb ) ) { $ oBreadCrumb = & TdbShopCategoryList :: GetCategoryPath ( $ this -> id , null , $ this -> GetLanguage ( ) ) ; $ this -> SetInternalCache ( 'oCategoryBreadcrumb' , $ oBreadCrumb ) ; } else { $ oBreadCrumb -> GoToStart ( ) ; } return $ oBreadCrumb ; }
return a list of all categories to the current category.

@return TIterator
return a list of all categories to the current category .