|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct ($fileName, $settings) | |
| addHeader () | |
| addEntry ($entry) | |
| split () | |
| getNameList () | |
| getPathDirectory () | |
| isNotEmpty () | |
| isCurrentPartNotEmpty () | |
| appendEntry ($entry) | |
| removeEntry ($url) | |
| addFileEntry (File $f) | |
| addIBlockEntry ($url, $modifiedDate) | |
| appendIBlockEntry ($url, $modifiedDate) | |
| addFooter () | |
| getSiteRoot () | |
| getUrl () | |
| parse () | |
| Открытые члены унаследованные от File | |
| open ($mode) | |
| close () | |
| isExists () | |
| getContents () | |
| putContents ($data, $flags=self::REWRITE) | |
| getSize () | |
| seek ($position) | |
| isWritable () | |
| isReadable () | |
| readFile () | |
| markWritable () | |
| delete () | |
| getContentType () | |
| Открытые члены унаследованные от FileEntry | |
| getExtension () | |
| putContents ($data) | |
| getFileSize () | |
| isDirectory () | |
| isFile () | |
| isLink () | |
| Открытые члены унаследованные от FileSystemEntry | |
| isSystem () | |
| getName () | |
| getDirectoryName () | |
| getPath () | |
| getDirectory () | |
| getCreationTime () | |
| getLastAccessTime () | |
| getModificationTime () | |
| getPermissions () | |
| getPhysicalPath () | |
| rename ($newPath) | |
Поля данных | |
| const | XML_HEADER = '<?xml version="1.0" encoding="UTF-8"?>' |
| const | FILE_HEADER = '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' |
| const | FILE_FOOTER = '</urlset>' |
| const | ENTRY_TPL = '<url><loc>%s</loc><lastmod>%s</lastmod></url>' |
| const | ENTRY_TPL_SEARCH = '<url><loc>%s</loc>' |
| const | XPATH_URL = '/urlset/url' |
| const | MAX_SIZE = 5000000 |
| const | FILE_EXT = '.xml' |
| const | FILE_PART_SUFFIX = '.part' |
| Поля данных унаследованные от File | |
| const | REWRITE = 0 |
| const | APPEND = 1 |
Защищенные члены | |
| prepareFileName ($fileName) | |
| reInit ($fileName) | |
| isSplitNeeded () | |
| getFileUrl (File $f) | |
Защищенные данные | |
| $documentRoot | |
| $settings = array() | |
| $parser = false | |
| $siteRoot = '' | |
| $partFile = '' | |
| array | $partList = [] |
| int | $part = 0 |
| bool | $partChanged = false |
| bool | $footerClosed = false |
| $urlToSearch = '' | |
| $urlFound = false | |
| Защищенные данные унаследованные от File | |
| $filePointer | |
| Защищенные данные унаследованные от FileSystemEntry | |
| $path | |
| $originalPath | |
| $pathPhysical | |
| $siteId | |
| bool | $exists = null |
Дополнительные унаследованные члены | |
| Открытые статические члены унаследованные от File | |
| static | isFileExists ($path) |
| static | getFileContents ($path) |
| static | putFileContents ($path, $data, $flags=self::REWRITE) |
| static | deleteFile ($path) |
| Защищенные статические члены унаследованные от FileSystemEntry | |
| static | getDocumentRoot ($siteId) |
| __construct | ( | $fileName, | |
| $settings ) |
| addEntry | ( | $entry | ) |
| addFileEntry | ( | File | $f | ) |
| addFooter | ( | ) |
| addHeader | ( | ) |
| addIBlockEntry | ( | $url, | |
| $modifiedDate ) |
| appendEntry | ( | $entry | ) |
| appendIBlockEntry | ( | $url, | |
| $modifiedDate ) |
|
protected |
| getNameList | ( | ) |
| getPathDirectory | ( | ) |
| getSiteRoot | ( | ) |
| isCurrentPartNotEmpty | ( | ) |
| isNotEmpty | ( | ) |
|
protected |
| parse | ( | ) |
|
protected |
| removeEntry | ( | $url | ) |
| split | ( | ) |
| const ENTRY_TPL = '<url><loc>%s</loc><lastmod>%s</lastmod></url>' |
| const FILE_HEADER = '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' |
| const XML_HEADER = '<?xml version="1.0" encoding="UTF-8"?>' |