source/Application/Model/Category.php
public function getAttributes()
    {
        $sActCat = $this->getId();

        $sKey = md5($sActCat . serialize(\OxidEsales\Eshop\Core\Registry::getSession()->getVariable('session_attrfilter')));
        if (!isset(self::$_aCatAttributes[$sKey])) {
            $oAttrList = oxNew(\OxidEsales\Eshop\Application\Model\AttributeList::class);
            $oAttrList->getCategoryAttributes($sActCat, $this->getLanguage());
            self::$_aCatAttributes[$sKey] = $oAttrList;
        }

        return self::$_aCatAttributes[$sKey];
    }
public function getAttributes()
    {
        $sActCat = $this->getId();

        $sKey = md5($sActCat . serialize(\OxidEsales\Eshop\Core\Registry::getSession()->getVariable('session_attrfilter')));
        if (!isset(self::$_aCatAttributes[$sKey])) {
            $oAttrList = oxNew(\OxidEsales\Eshop\Application\Model\AttributeList::class);
            $oAttrList->getCategoryAttributes($sActCat, $this->getLanguage());
            self::$_aCatAttributes[$sKey] = $oAttrList;
        }

        return self::$_aCatAttributes[$sKey];
    }
public function getAttributes ( ) { $ sActCat = $ this -> getId ( ) ; $ sKey = md5 ( $ sActCat . serialize ( \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( 'session_attrfilter' ) ) ) ; if ( ! isset ( self :: $ _aCatAttributes [ $ sKey ] ) ) { $ oAttrList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ AttributeList :: class ) ; $ oAttrList -> getCategoryAttributes ( $ sActCat , $ this -> getLanguage ( ) ) ; self :: $ _aCatAttributes [ $ sKey ] = $ oAttrList ; } return self :: $ _aCatAttributes [ $ sKey ] ; }
Loads and returns attribute list associated with this category

@return oxAttributeList
Loads and returns attribute list associated with this category