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

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

No files matched your search

@@ -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()