[*] MO: Add smarty cache on some modules

This commit is contained in:
Rémi Gaillard
2013-01-07 17:09:36 +01:00
parent 1f7ab4f172
commit cd89916a20
14 changed files with 136 additions and 95 deletions
@@ -56,7 +56,7 @@ class BlockPermanentLinks extends Module
*/
public function hookTop($params)
{
return $this->display(__FILE__, 'blockpermanentlinks-header.tpl');
return $this->display(__FILE__, 'blockpermanentlinks-header.tpl', $this->getCacheId('blockpermanentlinks-header'));
}
/**
@@ -67,7 +67,7 @@ class BlockPermanentLinks extends Module
*/
public function hookLeftColumn($params)
{
return $this->display(__FILE__, 'blockpermanentlinks.tpl');
return $this->display(__FILE__, 'blockpermanentlinks.tpl', $this->getCacheId());
}
public function hookRightColumn($params)
@@ -77,7 +77,7 @@ class BlockPermanentLinks extends Module
public function hookFooter($params)
{
return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl');
return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl', $this->getCacheId('blockpermanentlinks-footer'));
}
public function hookHeader($params)