I am trying to read through Developer Guide for PrestaShop 1.5, in the hand book it gives an example of using hook in the controller:
$this->context->smarty->assign('HOOK_LEFT_COLUMN', Module::hookExec('displayLeftColumn'));
but in what scenario we need to use the hook in the controller is not well explained, could anyone explain a example for me?
e.g. when using hook for modules, we could actually add page components.
then when using hook for controllers.....
Thanks