1C-Bitrix 25.700.0
|
Открытые члены | |
__construct () | |
getAuthorId () | |
setChatId (int $chatId) | |
getChatId () | |
setScenario (IScenario $scenario) | |
getScenario () | |
setSiteData (Data\Site $siteData) | |
getSiteData () | |
getData (?string $key=null) | |
setData (string $key, mixed $data) | |
deleteData (string $key) | |
setWishes (Data\Wishes $wishes) | |
getId () | |
getStep () | |
getTimer () | |
initById (int $generationId) | |
initBySiteId (int $siteId, IScenario $scenario) | |
execute () | |
finish () | |
isFinished () | |
isError () | |
clearErrors () | |
getEvent () | |
getBlocksData (array $blocks) |
Открытые статические члены | |
static | checkExists (int $id) |
Защищенные данные | |
Generation Event | $event = null |
This class is responsible for generating site content using various managers and connectors.
См. определение в файле Generation.php строка 23
__construct | ( | ) |
См. определение в файле Generation.php строка 43
|
static |
См. определение в файле Generation.php строка 527
clearErrors | ( | ) |
Prepare scenario to restart generation after error
См. определение в файле Generation.php строка 430
deleteData | ( | string | $key | ) |
Delete one key from data
string | $key |
См. определение в файле Generation.php строка 151
execute | ( | ) |
Run process.
См. определение в файле Generation.php строка 281
finish | ( | ) |
Finish all generation processed, mark as completed
См. определение в файле Generation.php строка 382
getAuthorId | ( | ) |
getBlocksData | ( | array | $blocks | ) |
См. определение в файле Generation.php строка 543
getChatId | ( | ) |
If generation started by chat - get ID
См. определение в файле Generation.php строка 79
getData | ( | ?string | $key = null | ) |
Get custom data for generations
string | null | $key |
См. определение в файле Generation.php строка 120
getEvent | ( | ) |
Get object for send front and backend events
См. определение в файле Generation.php строка 509
getId | ( | ) |
См. определение в файле Generation.php строка 166
getScenario | ( | ) |
См. определение в файле Generation.php строка 98
getSiteData | ( | ) |
См. определение в файле Generation.php строка 110
getStep | ( | ) |
См. определение в файле Generation.php строка 171
getTimer | ( | ) |
См. определение в файле Generation.php строка 176
initById | ( | int | $generationId | ) |
Try to find exists generation and init current by them data
int | $generationId |
См. определение в файле Generation.php строка 188
initBySiteId | ( | int | $siteId, |
IScenario | $scenario ) |
Try to find exists generation by site ID and init current by them data
int | $siteId | |
IScenario | $scenario |
См. определение в файле Generation.php строка 210
isError | ( | ) |
Check if at least one scenario step has error and not execute
См. определение в файле Generation.php строка 416
isFinished | ( | ) |
Check if scenario execute all steps
См. определение в файле Generation.php строка 397
setChatId | ( | int | $chatId | ) |
If generation start by chat - set ID
int | $chatId |
См. определение в файле Generation.php строка 65
setData | ( | string | $key, |
mixed | $data ) |
Set custom data for generations
string | $key | |
mixed | $data |
См. определение в файле Generation.php строка 136
setScenario | ( | IScenario | $scenario | ) |
setSiteData | ( | Data\Site | $siteData | ) |
См. определение в файле Generation.php строка 103
setWishes | ( | Data\Wishes | $wishes | ) |
См. определение в файле Generation.php строка 159
|
protected |
См. определение в файле Generation.php строка 41