1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Generator

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

 __construct (int $sitemapId)
 init (int $step, array $state)
 getStep ()
 getState ()
 getStatusMessage ()
 run ()

Защищенные члены

 runInit ()
 runFiles ()
 processDirectory ($dirData)
 runIblockIndex ()
 runIblock ()
 processIblockSections ()
 finishIblockSectionsProcess ()
 processIblockElements ()
 finishIblockElementsProcess ()
 finishIblockProcess ()
 runForumIndex ()
 runForum ()
 finishSitemapFile ()
 runIndex ()
 finish ()
 getSitemapSettings ()
 startStep ()
 isStepTimeOver ()

Защищенные данные

const STEP_DURATION = 13
int $sitemapId
array $sitemapData = []
int $step
int $stepStartTime
array $state
string $statusMessage = ''
File Base $sitemapFile = null
array $currentRuntimeIBlock = null
array $currentIBlock = null

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

Class for create sitemap files

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

Конструктор(ы)

◆ __construct()

__construct ( int $sitemapId)

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

Методы

◆ finish()

finish ( )
protected

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

◆ finishIblockElementsProcess()

finishIblockElementsProcess ( )
protected

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

◆ finishIblockProcess()

finishIblockProcess ( )
protected

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

◆ finishIblockSectionsProcess()

finishIblockSectionsProcess ( )
protected

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

◆ finishSitemapFile()

finishSitemapFile ( )
protected

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

◆ getSitemapSettings()

getSitemapSettings ( )
protected

For save in Sitemap table

Возвращает
array

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

◆ getState()

getState ( )

Return current state

Возвращает
array

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

◆ getStatusMessage()

getStatusMessage ( )

Text message about current progress

Возвращает
string

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

◆ getStep()

getStep ( )

Return current step (int value, not name)

Возвращает
int

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

◆ init()

init ( int $step,
array $state )

Init current parameter for generator run

Аргументы
int$step
array$state
Возвращает
Generator

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

◆ isStepTimeOver()

isStepTimeOver ( )
protected

Return true if time is over

Возвращает
bool

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

◆ processDirectory()

processDirectory ( $dirData)
protected

Add files from directory to sitemap

Аргументы
$dirData
Возвращает
void

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

◆ processIblockElements()

processIblockElements ( )
protected

Process elements

Возвращает
bool - true if finished all sections, false if process stopped by timeout

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

◆ processIblockSections()

processIblockSections ( )
protected

Process sections

Возвращает
bool - true if finished all sections, false if process stopped by timeout

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

◆ run()

run ( )
Возвращает
bool - false if error in process

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

◆ runFiles()

runFiles ( )
protected

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

◆ runForum()

runForum ( )
protected

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

◆ runForumIndex()

runForumIndex ( )
protected

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

◆ runIblock()

runIblock ( )
protected

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

◆ runIblockIndex()

runIblockIndex ( )
protected

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

◆ runIndex()

runIndex ( )
protected

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

◆ runInit()

runInit ( )
protected

Clear previously, and init new Runtime

Возвращает
bool

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

◆ startStep()

startStep ( )
protected

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

Поля

◆ $currentIBlock

array $currentIBlock = null
protected

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

◆ $currentRuntimeIBlock

array $currentRuntimeIBlock = null
protected

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

◆ $sitemapData

array $sitemapData = []
protected

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

◆ $sitemapFile

File Base $sitemapFile = null
protected

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

◆ $sitemapId

int $sitemapId
protected

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

◆ $state

array $state
protected

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

◆ $statusMessage

string $statusMessage = ''
protected

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

◆ $step

int $step
protected

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

◆ $stepStartTime

int $stepStartTime
protected

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

◆ STEP_DURATION

const STEP_DURATION = 13
protected

Max time of run one step, in seconds

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


Объявления и описания членов класса находятся в файле: