Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс SitemapIndex
+ Граф наследования:SitemapIndex:

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

 createIndex ($arIndex)
 
 appendIndexEntry ($file)
 
- Открытые члены унаследованные от SitemapFile
 __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 ()
 
 getCreationTime ()
 
 getLastAccessTime ()
 
 getModificationTime ()
 
 markWritable ()
 
 getPermissions ()
 
 delete ()
 
 getContentType ()
 
- Открытые члены унаследованные от FileEntry
 getExtension ()
 
 putContents ($data)
 
 getFileSize ()
 
 isDirectory ()
 
 isFile ()
 
 isLink ()
 
- Открытые члены унаследованные от FileSystemEntry
 isSystem ()
 
 getName ()
 
 getDirectoryName ()
 
 getPath ()
 
 getDirectory ()
 
 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>'
 
- Открытые атрибуты унаследованные от SitemapFile
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)
 
- Защищенные члены унаследованные от SitemapFile
 prepareFileName ($fileName)
 
 reInit ($fileName)
 
 isSplitNeeded ()
 
 getFileUrl (File $f)
 
- Защищенные статические члены унаследованные от FileSystemEntry
static getDocumentRoot ($siteId)
 
- Защищенные данные унаследованные от SitemapFile
 $documentRoot
 
 $settings = array()
 
 $parser = false
 
 $siteRoot = ''
 
 $partFile = ''
 
 $partList = array()
 
 $part = 0
 
 $partChanged = false
 
 $footerClosed = false
 
 $urlToSearch = ''
 
 $urlFound = false
 
- Защищенные данные унаследованные от File
 $filePointer
 
- Защищенные данные унаследованные от FileSystemEntry
 $path
 
 $originalPath
 
 $pathPhysical
 
 $siteId
 

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

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

Методы

◆ appendIndexEntry()

appendIndexEntry ( $file)

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

◆ createIndex()

createIndex ( $arIndex)

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

Данные класса

◆ ENTRY_TPL

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

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

◆ FILE_FOOTER

const FILE_FOOTER = '</sitemapindex>'

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

◆ FILE_HEADER

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

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