source/Application/Component/Widget/ArticleDetails.php
public function getMediaFiles()
    {
        if ($this->_aMediaFiles === null) {
            $aMediaFiles = $this->getProduct()->getMediaUrls();
            $this->_aMediaFiles = count($aMediaFiles) ? $aMediaFiles : false;
        }

        return $this->_aMediaFiles;
    }
public function getMediaFiles()
    {
        if ($this->_aMediaFiles === null) {
            $aMediaFiles = $this->getProduct()->getMediaUrls();
            $this->_aMediaFiles = count($aMediaFiles) ? $aMediaFiles : false;
        }

        return $this->_aMediaFiles;
    }
public function getMediaFiles ( ) { if ( $ this -> _aMediaFiles === null ) { $ aMediaFiles = $ this -> getProduct ( ) -> getMediaUrls ( ) ; $ this -> _aMediaFiles = count ( $ aMediaFiles ) ? $ aMediaFiles : false ; } return $ this -> _aMediaFiles ; }
Template variable getter. Returns media files of current product.

@return array
Template variable getter . Returns media files of current product .