PriymakVl
2/18/2020 - 2:19 PM

yii flash message

yii flash message

<?php

Yii::$app->session->setFlash($type, $text);


public function setMessage($text, $type = 'success')
{
	Yii::$app->session->setFlash($type, $text);
	return $this;
}