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

Открытые статические члены

static addUniqueAgent (string $funcName, array $params=[], int $time=7200, ?int $nextExecDelay=null)
static deleteUniqueAgent (string $funcName, array $params=[])
static removeBadDomain ()
static clearRecycleScope (string $scope, ?int $days=null)
static clearRecycle (?int $days=null)
static clearFiles (?int $count=null)
static clearHistory (?int $days=null)
static sendRestStatistic ()
static clearTempFiles ()
static repairFormUrls (int $lastLid=0)
static checkFileExists (int $fileId)
static rePublicationLanding ($landingId)
static executeGeneration (int $generationId)

Защищенные статические члены

static getSubFolders (int $folderId)

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

Service class for agent functions

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

Методы

◆ addUniqueAgent()

addUniqueAgent ( string $funcName,
array $params = [],
int $time = 7200,
?int $nextExecDelay = null )
static

Tech method for adding new unique agent.

Аргументы
string$funcNameFunction name from this class.
array$paramsSome params for agent function.
int$timeTime in seconds for executing period.
int | null$nextExecDelay- time in sec before next agent delay, default - exec immediately
Возвращает
void

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

◆ checkFileExists()

checkFileExists ( int $fileId)
static

In clouds files can gone. Check existing and del invalid rows from tables

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

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

◆ clearFiles()

clearFiles ( ?int $count = null)
static

Remove marked for deleting files.

Аргументы
int | null$countCount of files wich will be deleted per once.
Возвращает
string

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

◆ clearHistory()

clearHistory ( ?int $days = null)
static

Clear old history records

Аргументы
int | null$daysAfter this time items will be deleted.
Возвращает
string

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

◆ clearRecycle()

clearRecycle ( ?int $days = null)
static

Clear recycle bin.

Аргументы
int | null$daysAfter this time items will be deleted.
Возвращает
string

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

◆ clearRecycleScope()

clearRecycleScope ( string $scope,
?int $days = null )
static

Clear recycle bin for scope.

Аргументы
string$scopeScope code.
int | null$daysAfter this time items will be deleted.
Возвращает
string

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

◆ clearTempFiles()

clearTempFiles ( )
static

Marks all temporary files to delete.

Возвращает
string

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

◆ deleteUniqueAgent()

deleteUniqueAgent ( string $funcName,
array $params = [] )
static

Tech method for delete existing unique agent.

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

◆ executeGeneration()

executeGeneration ( int $generationId)
static

Run copilot site generation

Аргументы
int$generationId
Возвращает
string

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

◆ getSubFolders()

getSubFolders ( int $folderId)
staticprotected

Returns all sub folders for the folder.

Аргументы
int$folderIdFolder id.
Возвращает
array

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

◆ removeBadDomain()

removeBadDomain ( )
static

Agent to remove one not resolved domain. Removes agent if such domains not exists.

Возвращает
string

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

◆ repairFormUrls()

repairFormUrls ( int $lastLid = 0)
static

Tmp agent for rebuild form's blocks.

Аргументы
int$lastLidLast item id.
Возвращает
string

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

◆ rePublicationLanding()

rePublicationLanding ( $landingId)
static

Publication landing and drop public cache if success. F.e. need for recovery form-loader file, that is not created at the moment of first public

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

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

◆ sendRestStatistic()

sendRestStatistic ( )
static

Send used rest statistic.

Возвращает
string

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


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