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 | $funcName | Function name from this class. |
array | $params | Some params for agent function. |
int | $time | Time 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
- Аргументы
-
- Возвращает
- void
См. определение в файле agent.php строка 482
◆ clearFiles()
clearFiles |
( |
?int | $count = null | ) |
|
|
static |
Remove marked for deleting files.
- Аргументы
-
int | null | $count | Count of files wich will be deleted per once. |
- Возвращает
- string
См. определение в файле agent.php строка 336
◆ clearHistory()
clearHistory |
( |
?int | $days = null | ) |
|
|
static |
Clear old history records
- Аргументы
-
int | null | $days | After this time items will be deleted. |
- Возвращает
- string
См. определение в файле agent.php строка 350
◆ clearRecycle()
clearRecycle |
( |
?int | $days = null | ) |
|
|
static |
Clear recycle bin.
- Аргументы
-
int | null | $days | After this time items will be deleted. |
- Возвращает
- string
См. определение в файле agent.php строка 235
◆ clearRecycleScope()
clearRecycleScope |
( |
string | $scope, |
|
|
?int | $days = null ) |
|
static |
Clear recycle bin for scope.
- Аргументы
-
string | $scope | Scope code. |
int | null | $days | After this time items will be deleted. |
- Возвращает
- string
См. определение в файле agent.php строка 196
◆ clearTempFiles()
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
- Аргументы
-
- Возвращает
- string
См. определение в файле agent.php строка 584
◆ getSubFolders()
getSubFolders |
( |
int | $folderId | ) |
|
|
staticprotected |
Returns all sub folders for the folder.
- Аргументы
-
- Возвращает
- array
См. определение в файле agent.php строка 210
◆ removeBadDomain()
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.
- Аргументы
-
- Возвращает
- 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
- Аргументы
-
- Возвращает
- void
См. определение в файле agent.php строка 570
◆ sendRestStatistic()
Send used rest statistic.
- Возвращает
- string
См. определение в файле agent.php строка 379
Объявления и описания членов класса находятся в файле: