Hello,
I’m kind of new on Yii, and spent last day all searching for this answer…
And I can’t decide what’s the best way to do it, so…
In my webapp I have altot of graphs and reports.
Basically works this way…
-
Present a form/dialog to get data (like date range, year range…)
-
Controller get the range and send to Model
-
Present the view (Graph or report)
This form/dialog used to get the range will be used alot from various actions Controllers.
So my question is: How can I write this form only once and use it on many actions I need to?
Thx in advance.