src/ShopProductExportBundle/objects/TPkgShopProductExportBaseEndPoint.class.php
public function getAttributeName($sIdentifier)
    {
        static $aAttributesForSystemNames = null;
        static $aAttributesForIds = null;
        if (null === $aAttributesForSystemNames && null === $aAttributesForIds) {
            $oAttributesList = TdbShopAttributeList::GetList();
            while ($oAttribute = &$oAttributesList->Next()) {
                $sName = $oAttribute->GetName();
                $aAttributesForSystemNames[$oAttribute->fieldSystemName] = $sName;
                $aAttributesForIds[$oAttribute->id] = $sName;
            }
        }
        if (isset($aAttributesForSystemNames[$sIdentifier])) {
            return $aAttributesForSystemNames[$sIdentifier];
        } elseif (isset($aAttributesForIds[$sIdentifier])) {
            return $aAttributesForIds[$sIdentifier];
        } else {
            return '';
        }
    }
public function getAttributeName($sIdentifier)
    {
        static $aAttributesForSystemNames = null;
        static $aAttributesForIds = null;
        if (null === $aAttributesForSystemNames && null === $aAttributesForIds) {
            $oAttributesList = TdbShopAttributeList::GetList();
            while ($oAttribute = &$oAttributesList->Next()) {
                $sName = $oAttribute->GetName();
                $aAttributesForSystemNames[$oAttribute->fieldSystemName] = $sName;
                $aAttributesForIds[$oAttribute->id] = $sName;
            }
        }
        if (isset($aAttributesForSystemNames[$sIdentifier])) {
            return $aAttributesForSystemNames[$sIdentifier];
        } elseif (isset($aAttributesForIds[$sIdentifier])) {
            return $aAttributesForIds[$sIdentifier];
        } else {
            return '';
        }
    }
public function getAttributeName ( $ sIdentifier ) { static $ aAttributesForSystemNames = null ; static $ aAttributesForIds = null ; if ( null === $ aAttributesForSystemNames && null === $ aAttributesForIds ) { $ oAttributesList = TdbShopAttributeList :: GetList ( ) ; while ( $ oAttribute = & $ oAttributesList -> Next ( ) ) { $ sName = $ oAttribute -> GetName ( ) ; $ aAttributesForSystemNames [ $ oAttribute -> fieldSystemName ] = $ sName ; $ aAttributesForIds [ $ oAttribute -> id ] = $ sName ; } } if ( isset ( $ aAttributesForSystemNames [ $ sIdentifier ] ) ) { return $ aAttributesForSystemNames [ $ sIdentifier ] ; } elseif ( isset ( $ aAttributesForIds [ $ sIdentifier ] ) ) { return $ aAttributesForIds [ $ sIdentifier ] ; } else { return '' ; } }
load attribute by system_name field and return the name.

@param string $sIdentifier

@return string
load attribute by system_name field and return the name .