BxDolTwigModule::_actionSharePopup PHP Method

_actionSharePopup() public method

public _actionSharePopup ( $iEntryId, $sTitle, $bAddTempleateExt = false )
    function _actionSharePopup($iEntryId, $sTitle, $bAddTempleateExt = false)
    {
        header('Content-type:text/html;charset=utf-8');
        $iEntryId = (int) $iEntryId;
        if (!($aDataEntry = $this->_oDb->getEntryByIdAndOwner($iEntryId, 0, true))) {
            echo MsgBox(_t('_Empty'));
            exit;
        }
        $sEntryUrl = BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'view/' . $aDataEntry[$this->_oDb->_sFieldUri];
        require_once BX_DIRECTORY_PATH_INC . "shared_sites.inc.php";
        echo getSitesHtml($sEntryUrl, $sTitle);
        exit;
    }

Usage Example

コード例 #1
0
 function actionSharePopup($iEntryId)
 {
     parent::_actionSharePopup($iEntryId, _t('_bx_store_cpation_share_product'));
 }
All Usage Examples Of BxDolTwigModule::_actionSharePopup