Jump to content

Recommended Posts

Hello. Developing the admin panel for the module I was meet one strange problem. All child class methods works, but one dosnt.
There is a controller class AdminStoresController.php. It when the module is installed there are

class AdminStoresController extends AdminStoresControllerCore

and there are one method, that do not working

public function renderForm()

There is nothing extraordinary in the child method, is "public" too and also without arguments.
Who has faced similar can tell what could be wrong? Or at least in what side to dig?

I would be very grateful for any help.

Edited by ramzzes@mail.ru (see edit history)
Link to comment
Share on other sites

  On 10/19/2015 at 2:54 PM, MahmutGulerce said:

Hi 

Did you checked classes\controller/AdminController.php class ? These methods must be available from  AdminStoresController 

 

No i forgot about this! Now this works with

return AdminController::renderForm();

instead

return parent::renderForm();

thanks for response!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...