- Debugging

parent 1c7c4815
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
use \common\components\UnisenderAPI; use \common\components\UnisenderAPI;
use \yii\helpers\Json; use \yii\helpers\Json;
$template = new \common\modules\messageTemplate\components\Templates(3, ['user_fio' => 'qwerty']); $trigger = \common\modules\triggers\components\conditions\conditions\CheckClickingOnTheLink::init();
var_dump($template->getTemplate()); $model = \common\modules\triggers\models\TriggerSchedule::find()->where(['id'=>22])->one();
$trigger->check($model);
//$email = 'bystrov@kupitsite.ru'; //$email = 'bystrov@kupitsite.ru';
......
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