SitemapRuntime
SitemapRuntime class for handling sitemap temporary file. Such file is created when manually generating a map, to prevent conflicts in updates.
Class methods
Method | Description | Available from version |
---|---|---|
appendIBlockEntry | Adds an entry to the sitemap end. | |
finish | Finishes temporary file handling, renames it and assigns it as the main file. | |
putSitemapContent | Adds the main file contents to a temporary file.
Parameters:
| |
setOriginalFile | Sets association between temporary and main file.
Parameters:
| |
showProgress | Shows progress bar with current sitemap generation status.
Parameters:
|
© «Bitrix24», 2001-2024