for easier access I added a __construct partly only including this to my models .
Why we need JInput in the models? It is the responsability of the controllers to manage the request and setup models and views based on that request.
Dmitry.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/iY_3m_q0TuEJ.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
In the new MVC, controllers have to be instantiated with a JInput object. So JControllerLegacy was given that input object to add a little compatibility between the two. The models don't require it, but there's nothing to say you can't set it up for your own models.
Dmitry.