Jump to content

[SOLVED] $this->registerHook('adminXXXX')


leeloo
 Share

Recommended Posts

I am developing a module for my specific needs.
During installation, I want hook the module in Carriers tab and Customers tab.

The module is hook in Customers tab if i put

OR !$this->registerHook('adminCustomers') 



but not in carriers tab.

 
   public function install()
   {
       if(version_compare(_PS_VERSION_, '1.2.5.0', '>=')) 
           {
               $this->installModuleTab('AdminZipCodeLocalDelivery', 2);
           }

       if (!parent::install() 
           OR !$this->registerHook('adminCarriers') 



What is the value XXXX for carriers hook tab ?

$this->registerHook('adminXXXX')

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More