BxDolTwigModule::_actionSounds PHP Method

_actionSounds() public method

public _actionSounds ( $sUri, $sTitle )
    function _actionSounds($sUri, $sTitle)
    {
        if (!($aDataEntry = $this->_preProductTabs($sUri, $sTitle))) {
            return;
        }
        $aRestriction = array('id' => $this->_oDb->getMediaIds($aDataEntry[$this->_oDb->_sFieldId], 'sounds'));
        if (!$aRestriction['id']) {
            $this->_oTemplate->displayNoData();
            return;
        }
        $this->_oTemplate->pageStart();
        echo BxDolService::call('sounds', 'get_browse_block', array($aRestriction, $this->_oConfig->getBaseUri() . 'sounds/' . $sUri), 'Search');
        $this->_oTemplate->pageCode($sTitle);
    }

Usage Example

コード例 #1
0
 function actionSounds($sUri)
 {
     parent::_actionSounds($sUri, _t('_bx_events_caption_sounds'));
 }
All Usage Examples Of BxDolTwigModule::_actionSounds