BasePresenter for particular presenters only

radm
Member | 7
+
0
-

Hello, I design menu for admin webpages using BasePresenter. I know how to use
BasePresenter but is it possible to make BasePresenter only for particular Presenters, like
FirstAdminPresenter.php, SecondAdminPresenter.php using common BaseAdminPresenter.php.
Thanks for advice.

Milo
Nette Core | 1283
+
0
-

Sure. For example I have a base presenter for every module.

BasePresenter
AdminBasePresenter extends BasePresenter
FrontBasePresenter extends BasePresenter
radm
Member | 7
+
0
-

Milo wrote:

Sure. For example I have a base presenter for every module.

BasePresenter
AdminBasePresenter extends BasePresenter
FrontBasePresenter extends BasePresenter

I see, thanks for hint :).