Commit 28be8c8f authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлен метод, активизирующий триггер по id

parent 49e676e2
......@@ -16,9 +16,17 @@ class DefaultController extends BaseController
public static function actionsTitles(){
return [
'Index' => 'Главная страница модуля',
'Rechecktriggers' => 'Запуск проверки срабатывания триггеров'
'Rechecktriggers' => 'Запуск проверки срабатывания триггеров',
'Inittrigger' => 'Init trigger By id'
];
}
public function actionInittrigger($id){
/** @var TriggerTrigger $trigger */
$trigger = TriggerTrigger::findOne($id);
$trigger->initAction();
}
/**
* Renders the index view for the module
* @return string
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment