src/ShopProductExportBundle/objects/TCMSFields/TCMSFieldText_ShowExportURL.class.php
protected function getExportModuleSpotName($sPageId)
    {
        $sSpotName = '';
        $sQuery = "SELECT `cms_master_pagedef_spot`.`name` FROM `cms_tpl_page_cms_master_pagedef_spot`
                    INNER JOIN `cms_master_pagedef_spot`ON `cms_master_pagedef_spot`.`id` = `cms_tpl_page_cms_master_pagedef_spot`.`cms_master_pagedef_spot_id`
                     WHERE `cms_tpl_page_cms_master_pagedef_spot`.`cms_tpl_page_id` = '".$sPageId."'
                       AND `static` = '0'";
        $oRes = MySqlLegacySupport::getInstance()->query($sQuery);
        if (MySqlLegacySupport::getInstance()->num_rows($oRes) > 0) {
            while ($aRow = MySqlLegacySupport::getInstance()->fetch_assoc($oRes)) {
                $sSpotName = $aRow['name'];
            }
        }

        return $sSpotName;
    }
protected function getExportModuleSpotName($sPageId)
    {
        $sSpotName = '';
        $sQuery = "SELECT `cms_master_pagedef_spot`.`name` FROM `cms_tpl_page_cms_master_pagedef_spot`
                    INNER JOIN `cms_master_pagedef_spot`ON `cms_master_pagedef_spot`.`id` = `cms_tpl_page_cms_master_pagedef_spot`.`cms_master_pagedef_spot_id`
                     WHERE `cms_tpl_page_cms_master_pagedef_spot`.`cms_tpl_page_id` = '".$sPageId."'
                       AND `static` = '0'";
        $oRes = MySqlLegacySupport::getInstance()->query($sQuery);
        if (MySqlLegacySupport::getInstance()->num_rows($oRes) > 0) {
            while ($aRow = MySqlLegacySupport::getInstance()->fetch_assoc($oRes)) {
                $sSpotName = $aRow['name'];
            }
        }

        return $sSpotName;
    }
protected function getExportModuleSpotName ( $ sPageId ) { $ sSpotName = '' ; $ sQuery = "SELECT `cms_master_pagedef_spot`.`name` FROM `cms_tpl_page_cms_master_pagedef_spot`
                    INNER JOIN `cms_master_pagedef_spot`ON `cms_master_pagedef_spot`.`id` = `cms_tpl_page_cms_master_pagedef_spot`.`cms_master_pagedef_spot_id`
                     WHERE `cms_tpl_page_cms_master_pagedef_spot`.`cms_tpl_page_id` = '" . $ sPageId . "'
                       AND `static` = '0'" ; $ oRes = MySqlLegacySupport :: getInstance ( ) -> query ( $ sQuery ) ; if ( MySqlLegacySupport :: getInstance ( ) -> num_rows ( $ oRes ) > 0 ) { while ( $ aRow = MySqlLegacySupport :: getInstance ( ) -> fetch_assoc ( $ oRes ) ) { $ sSpotName = $ aRow [ 'name' ] ; } } return $ sSpotName ; }
get spot name for export module on given page.

@param string $sPageId

@return string
get spot name for export module on given page .