A
A
AlexSer2020-09-29 08:33:06
Yii
AlexSer, 2020-09-29 08:33:06

How to make the controller in yii2 check the version of the widget?

Good morning! Let's say I have an action controller and a widget that sends data to the action. How can I check the "version", because if new data fields are added and the widget is updated on the server, and the controller was forgotten to be updated, then an error occurred for the user.
I understand that by mistake, I immediately guess that I did not update the controller, but I would like to somehow immediately warn about mismatches of the "version".

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question