Улучшил виджет, доделал календарь дней рождений

This commit is contained in:
maxim
2021-09-13 12:09:56 +03:00
parent 125bddde21
commit efcd8f9908
5 changed files with 118 additions and 151 deletions

View File

@ -42,12 +42,10 @@ class CalendarController extends Controller
* Renders the index view for the module
* @return string
*/
public function actionAlternative(){
public function actionCalendar(){
$searchModel = new UserCardSearch();
$dataProvider = $searchModel->search(['month'=>date('m', strtotime('2019-07-03'))]);
return $this->render('alternative', [
'dataProvider' => $dataProvider
]);
return $this->render('calendar');
}
public function actionIndex()