src/ShopBundle/objects/db/TShopArticle.class.php
public function &GetFieldShopCategoryList($sOrderBy = '')
    {
        $oCategories = &$this->GetFromInternalCache('oCategories');
        if (is_null($oCategories)) {
            $oCategories = &TdbShopCategoryList::GetArticleCategories($this->id, $this->iLanguageId);
            $this->SetInternalCache('oCategories', $oCategories);
        }

        return $oCategories;
    }
public function &GetFieldShopCategoryList($sOrderBy = '')
    {
        $oCategories = &$this->GetFromInternalCache('oCategories');
        if (is_null($oCategories)) {
            $oCategories = &TdbShopCategoryList::GetArticleCategories($this->id, $this->iLanguageId);
            $this->SetInternalCache('oCategories', $oCategories);
        }

        return $oCategories;
    }
public function & GetFieldShopCategoryList ( $ sOrderBy = '' ) { $ oCategories = & $ this -> GetFromInternalCache ( 'oCategories' ) ; if ( is_null ( $ oCategories ) ) { $ oCategories = & TdbShopCategoryList :: GetArticleCategories ( $ this -> id , $ this -> iLanguageId ) ; $ this -> SetInternalCache ( 'oCategories' , $ oCategories ) ; } return $ oCategories ; }
return all categories assigned to the article.

@param string $sOrderBy

@return TdbShopCategoryList
return all categories assigned to the article .