Открытые члены | |
__construct ($exportId) | |
createCacheIdSections ($onlyMapped=true) | |
createCacheIdMappedSections () | |
createCacheIdMappedSectionsList () | |
clearCaches () | |
getSections ($tree=false, $onlyMapped=true) | |
getMappedIblocks () | |
getSectionsToProductExport () | |
getSectionsToAlbumsExport () | |
getMultiSectionsToProduct ($pdoructsIds) | |
getSectionMapToPrint () | |
getSectionsToMap () | |
getToAlbumBySection ($sectionId) | |
getSectionsSelector ($checkedSection=null, $onlyMapped=true) | |
getVkCategory ($sectionId) | |
prepareSectionToShow ($sectionId) | |
prepareSettingsVisibility ($params, $sectionId) | |
setCurrSectionSettings ($settings) | |
prepareSectionToSave ($sectionId) | |
prepareChildsToSave ($sectionId) | |
Открытые атрибуты | |
const | CACHE_DIR = '/sale/vkexport/' |
const | CACHE_TTL = 86400 |
const | CACHE_ID_PREFIX = "vk_sectionslist_cache" |
const | CACHE_ID_SECTIONS = "iblock_sections" |
const | CACHE_ID_MAPPED_SECTIONS = "mapped_sections" |
const | CACHE_ID_MAPPED_SECTIONS_LIST = "mapped_sections_list" |
const | VK_ICON = '<img src="/bitrix/images/sale/vk/vk_icon.png" style="height:16px; width:16px; margin-right: 1em;" />' |
const | VK_ICON_EMPTY = '<span style="width:16px; margin-right: 1em; display:inline-block;"></span>' |
Защищенные члены | |
getIblockIds ($onlyMapped) | |
См. определение в файле sectionslist.php строка 20
__construct | ( | $exportId | ) |
clearCaches | ( | ) |
Clean all caches for class. Run in moment of changed sections settings
См. определение в файле sectionslist.php строка 110
createCacheIdMappedSections | ( | ) |
Create cache ID for mapped sections list
См. определение в файле sectionslist.php строка 92
createCacheIdMappedSectionsList | ( | ) |
Create cache ID for mapped sections list
См. определение в файле sectionslist.php строка 101
createCacheIdSections | ( | $onlyMapped = true | ) |
Create cache ID for iblock sections
См. определение в файле sectionslist.php строка 81
|
protected |
См. определение в файле sectionslist.php строка 191
getMappedIblocks | ( | ) |
Collect IBLOCK for all mapped sections. Need at creation FEEDs for product export
См. определение в файле sectionslist.php строка 223
getMultiSectionsToProduct | ( | $pdoructsIds | ) |
См. определение в файле sectionslist.php строка 380
getSectionMapToPrint | ( | ) |
Prepare mapped sections to print export map
См. определение в файле sectionslist.php строка 402
getSections | ( | $tree = false, | |
$onlyMapped = true ) |
Return list of iblock sections. At the first run saving list in cache.
bool | $tree | - is true - list will be converted to tree |
Bitrix\Main\SystemException
См. определение в файле sectionslist.php строка 127
getSectionsSelector | ( | $checkedSection = null, | |
$onlyMapped = true ) |
Create selector for HTML. Not create <select> tag, only inner <options>
null | $checkedSection | - ID of section. If not NULL - this option will be checked |
Bitrix\Main\SystemException
См. определение в файле sectionslist.php строка 671
getSectionsToAlbumsExport | ( | ) |
Find and converted all section to albums export. Check inhering of parameters and define which sections will be exported
См. определение в файле sectionslist.php строка 332
getSectionsToMap | ( | ) |
Get extend sections array - group sections by VK-album, add URL to VK album, add URL to section edit page, add count of element
См. определение в файле sectionslist.php строка 457
getSectionsToProductExport | ( | ) |
Find and converted all section to product export. Check inhering of parameters and define which sections will be exported
См. определение в файле sectionslist.php строка 246
getToAlbumBySection | ( | $sectionId | ) |
Find parameter TO_ALBUM to section. Check INHERING and parent settings
$sectionId |
См. определение в файле sectionslist.php строка 626
getVkCategory | ( | $sectionId | ) |
Return vk default category from settings.
$sectionId |
См. определение в файле sectionslist.php строка 715
prepareChildsToSave | ( | $sectionId | ) |
Create settings for childs. For childs set only INHERIT option and VK CATEGORY. Other settings will be getting in export
$sectionId |
См. определение в файле sectionslist.php строка 1039
prepareSectionToSave | ( | $sectionId | ) |
Validate settings before saving Check settings dependence, adjust them if neede or set default values. Return array to mappng
$sectionId |
См. определение в файле sectionslist.php строка 929
prepareSectionToShow | ( | $sectionId | ) |
Get saved values for selected section and export ID and format them. Check settings dependence, adjust them if needed or set default values. Set visibility for controls according by settings
$sectionId |
См. определение в файле sectionslist.php строка 748
prepareSettingsVisibility | ( | $params, | |
$sectionId ) |
Set visibility for controls according by settings. Return settings array
$params | |
$section |
См. определение в файле sectionslist.php строка 803
setCurrSectionSettings | ( | $settings | ) |
$settings | array |
См. определение в файле sectionslist.php строка 912
const CACHE_DIR = '/sale/vkexport/' |
См. определение в файле sectionslist.php строка 29
const CACHE_ID_MAPPED_SECTIONS = "mapped_sections" |
См. определение в файле sectionslist.php строка 33
const CACHE_ID_MAPPED_SECTIONS_LIST = "mapped_sections_list" |
См. определение в файле sectionslist.php строка 34
const CACHE_ID_PREFIX = "vk_sectionslist_cache" |
См. определение в файле sectionslist.php строка 31
const CACHE_ID_SECTIONS = "iblock_sections" |
См. определение в файле sectionslist.php строка 32
const CACHE_TTL = 86400 |
См. определение в файле sectionslist.php строка 30
const VK_ICON = '<img src="/bitrix/images/sale/vk/vk_icon.png" style="height:16px; width:16px; margin-right: 1em;" />' |
См. определение в файле sectionslist.php строка 36
const VK_ICON_EMPTY = '<span style="width:16px; margin-right: 1em; display:inline-block;"></span>' |
См. определение в файле sectionslist.php строка 37