Jump to content

How to manage Prestashop Admin Controllers OOP functions / Methods


Recommended Posts

Dear Presta developers. I have been coding for a couple of years and can make pretty much anything which comes into my mind IF I just code without standards (so from top to down, no OOP). Since I started making small Prestashop Admin Modules, I discovered the need for OOP programming. So I bought myself a book and studied the basics of OOP.

 

However, I am struggling only with one thing : I cant create a decent custom Module Admin Controllers. For 2 weeks, I have been watching You Tube Tutorials, Books, Blogs, etc. Everyone is creating an Module Admin Page in different ways.

The only thing I can do is:

  • Create custom Multiple TAB -> link to my different controllers
  • Made 1 working controller that can display a .tpl in views/templates/admin/
  • But as soon as I want to add a form or list, things get pretty terrible and doesn't work at all.

My question :

  1. How can I know what methods or properties I can use in my custom controller ?
  2. Can you find out all the possibilities without consulting these many limited tutorials online?

 

I just want to have full control, but don't know where to look for.....

 

Thanks for sharing your experience on how to manage such big databases like Prestashop.

 

 

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...