PHP Класс Contao\FrontendCron

Наследование: extends Frontend
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Initialize the object (do not remove)
run ( ) : Response Run the controller

Защищенные методы

Метод Описание
hasToWait ( ) : boolean Check whether the last script execution was less than a minute ago
updateCronTxt ( integer $time ) Update the cron.txt file

Описание методов

__construct() публичный Метод

Initialize the object (do not remove)
public __construct ( )

hasToWait() защищенный Метод

Check whether the last script execution was less than a minute ago
protected hasToWait ( ) : boolean
Результат boolean

run() публичный Метод

Run the controller
public run ( ) : Response
Результат Symfony\Component\HttpFoundation\Response

updateCronTxt() защищенный Метод

Update the cron.txt file
protected updateCronTxt ( integer $time )
$time integer