source/Application/Component/Widget/ArticleDetails.php
public function getAttributes()
    {
        if ($this->_aAttributes === null) {
            // all attributes this article has
            $aArtAttributes = $this->getProduct()->getAttributes();

            //making a new array for backward compatibility
            $this->_aAttributes = false;

            if (count($aArtAttributes)) {
                foreach ($aArtAttributes as $sKey => $oAttribute) {
                    $this->_aAttributes[$sKey] = new stdClass();
                    $this->_aAttributes[$sKey]->title = $oAttribute->oxattribute__oxtitle->value;
                    $this->_aAttributes[$sKey]->value = $oAttribute->oxattribute__oxvalue->value;
                }
            }
        }

        return $this->_aAttributes;
    }
public function getAttributes()
    {
        if ($this->_aAttributes === null) {
            // all attributes this article has
            $aArtAttributes = $this->getProduct()->getAttributes();

            //making a new array for backward compatibility
            $this->_aAttributes = false;

            if (count($aArtAttributes)) {
                foreach ($aArtAttributes as $sKey => $oAttribute) {
                    $this->_aAttributes[$sKey] = new stdClass();
                    $this->_aAttributes[$sKey]->title = $oAttribute->oxattribute__oxtitle->value;
                    $this->_aAttributes[$sKey]->value = $oAttribute->oxattribute__oxvalue->value;
                }
            }
        }

        return $this->_aAttributes;
    }
public function getAttributes ( ) { if ( $ this -> _aAttributes === null ) { // all attributes this article has $ aArtAttributes = $ this -> getProduct ( ) -> getAttributes ( ) ; //making a new array for backward compatibility $ this -> _aAttributes = false ; if ( count ( $ aArtAttributes ) ) { foreach ( $ aArtAttributes as $ sKey => $ oAttribute ) { $ this -> _aAttributes [ $ sKey ] = new stdClass ( ) ; $ this -> _aAttributes [ $ sKey ] -> title = $ oAttribute -> oxattribute__oxtitle -> value ; $ this -> _aAttributes [ $ sKey ] -> value = $ oAttribute -> oxattribute__oxvalue -> value ; } } } return $ this -> _aAttributes ; }
Loading full list of attributes.

@return array
Loading full list of attributes .