In indexController I have this
public function initContent()
{
//echo"asdsad";exit;
parent::initContent();
$this->context->smarty->assign('HOOK_HOME1', Hook::exec('displayHome'));
$this->setTemplate(_PS_THEME_DIR_.'index.tpl');
}
But I don't understand. What is $this->context->smarty->assign
, and what is Hook
?