src/ShopBundle/objects/db/TShopCategoryList.class.php
public static function &GetDefaultCategory()
    {
        static $oCategory;
        if (!$oCategory) {
            $oRootCategories = &TdbShopCategoryList::GetChildCategories();
            if ($oRootCategories->Length() > 0) {
                $oCategory = &$oRootCategories->Current();
            }
        }

        return $oCategory;
    }
public static function &GetDefaultCategory()
    {
        static $oCategory;
        if (!$oCategory) {
            $oRootCategories = &TdbShopCategoryList::GetChildCategories();
            if ($oRootCategories->Length() > 0) {
                $oCategory = &$oRootCategories->Current();
            }
        }

        return $oCategory;
    }
public static function & GetDefaultCategory ( ) { static $ oCategory ; if ( ! $ oCategory ) { $ oRootCategories = & TdbShopCategoryList :: GetChildCategories ( ) ; if ( $ oRootCategories -> Length ( ) > 0 ) { $ oCategory = & $ oRootCategories -> Current ( ) ; } } return $ oCategory ; }
returns the shops default article category.

@return TdbShopCategory
returns the shops default article category .