T
T
totudub2015-11-27 08:36:08
Yii
totudub, 2015-11-27 08:36:08

How to define actions in yii2?

Let's say there is a page on which: two gridviews, four forms, a couple of third-party widgets and just displaying information from models.
There is an action that displays this page - actionView.
Question: send all information from forms and widgets to the current action or create an action for each action on the page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2015-11-27
@totudub

Well, if they fit into the logic, it’s possible by 1.
otherwise I would have different ones .. let’s create countries and categories on 1 page, well, from the point of logic .. I would have different actions ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question