Jump to content

Can Autohook in prestashop?


riverspart

Recommended Posts

I knew that a prestashop module can only be hooked into a specify hook when it hands a method below:

public function hook<NameOfHook>($param) { [executing code] }

 

But how can i do if i want my module being capable of dynamically loading list of available hooks then choose which one to hook in. It slightly likes choosing hook and transparent to in Position of Modules tab at back-end, but it has been required a method likes above to be in module's php-code-file.

 

Plz guide me some instructions :rolleyes:

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