src/ShopBundle/objects/db/TShopArticle.class.php
public function &GetFieldShopBundleArticleList()
    {
        $oBundleList = parent::GetFieldShopBundleArticleList();
        if (0 == $oBundleList->Length() && $this->IsVariant()) {
            $oBundleList = $this->GetFieldVariantParent()->GetFieldShopBundleArticleList();
        }
        $oBundleList->bAllowItemCache = true;

        return $oBundleList;
    }
public function &GetFieldShopBundleArticleList()
    {
        $oBundleList = parent::GetFieldShopBundleArticleList();
        if (0 == $oBundleList->Length() && $this->IsVariant()) {
            $oBundleList = $this->GetFieldVariantParent()->GetFieldShopBundleArticleList();
        }
        $oBundleList->bAllowItemCache = true;

        return $oBundleList;
    }
public function & GetFieldShopBundleArticleList ( ) { $ oBundleList = parent :: GetFieldShopBundleArticleList ( ) ; if ( 0 == $ oBundleList -> Length ( ) && $ this -> IsVariant ( ) ) { $ oBundleList = $ this -> GetFieldVariantParent ( ) -> GetFieldShopBundleArticleList ( ) ; } $ oBundleList -> bAllowItemCache = true ; return $ oBundleList ; }
Get bundle article list - if we are a variant an no bundle articles are set, the we return the bundles of the parent.

@return TdbShopBundleArticleList
Get bundle article list - if we are a variant an no bundle articles are set the we return the bundles of the parent .