1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Index
Граф наследования:Index:
Base File FileEntry IFileStream FileSystemEntry

Открытые члены

 createIndex (array $arIndex)
 appendIndexEntry ($file)
Открытые члены унаследованные от Base
 __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 FILE_HEADER = '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'
const FILE_FOOTER = '</sitemapindex>'
const ENTRY_TPL = '<sitemap><loc>%s</loc><lastmod>%s</lastmod></sitemap>'
Поля данных унаследованные от Base
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

Дополнительные унаследованные члены

Открытые статические члены унаследованные от File
static isFileExists ($path)
static getFileContents ($path)
static putFileContents ($path, $data, $flags=self::REWRITE)
static deleteFile ($path)
Защищенные члены унаследованные от Base
 prepareFileName ($fileName)
 reInit ($fileName)
 isSplitNeeded ()
 getFileUrl (File $f)
Защищенные статические члены унаследованные от FileSystemEntry
static getDocumentRoot ($siteId)
Защищенные данные унаследованные от Base
 $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

Подробное описание

Generates index file from sitemap files list

См. определение в файле Index.php строка 15

Методы

◆ appendIndexEntry()

appendIndexEntry ( $file)

См. определение в файле Index.php строка 44

◆ createIndex()

createIndex ( array $arIndex)

См. определение в файле Index.php строка 22

Поля

◆ ENTRY_TPL

const ENTRY_TPL = '<sitemap><loc>%s</loc><lastmod>%s</lastmod></sitemap>'

См. определение в файле Index.php строка 20

◆ FILE_FOOTER

const FILE_FOOTER = '</sitemapindex>'

См. определение в файле Index.php строка 18

◆ FILE_HEADER

const FILE_HEADER = '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'

См. определение в файле Index.php строка 17


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/seo/lib/Sitemap/File/Index.php