You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Framework, Joomla\Model\ModelInterface and abstract classes are deprecated and removed in the 2.0 branch; the functionality is replaced with feature specific interfaces and traits.
The view package's dependency to the model package is deprecated and removed in the 2.0 branch. This means the Joomla\View\BaseHtmlView constructor only has one argument; the Joomla\Renderer\RendererInterface implementation and the Joomla\View\BaseJsonView and Joomla\View\AbstractView classes have no default constructor.
So our model and view structure will need some cleanup for this. For the view class stuff, this should basically mean adding an extended constructor in JTracker\View\AbstractTrackerHtmlView with the model argument. Since the interfaces in the Framework's model package might not always apply to all of our models (unless they really all are database and state aware), we'll probably need an empty JTracker\Model\ModelInterface our models implement to satisfy this.
The text was updated successfully, but these errors were encountered:
In the Framework,
Joomla\Model\ModelInterface
and abstract classes are deprecated and removed in the 2.0 branch; the functionality is replaced with feature specific interfaces and traits.The view package's dependency to the model package is deprecated and removed in the 2.0 branch. This means the
Joomla\View\BaseHtmlView
constructor only has one argument; theJoomla\Renderer\RendererInterface
implementation and theJoomla\View\BaseJsonView
andJoomla\View\AbstractView
classes have no default constructor.So our model and view structure will need some cleanup for this. For the view class stuff, this should basically mean adding an extended constructor in
JTracker\View\AbstractTrackerHtmlView
with the model argument. Since the interfaces in the Framework's model package might not always apply to all of our models (unless they really all are database and state aware), we'll probably need an emptyJTracker\Model\ModelInterface
our models implement to satisfy this.The text was updated successfully, but these errors were encountered: