Thibault GUILLAUME abaddc752d page cms
2015-10-21 14:31:27 +02:00

22 lines
342 B
PHP

<?php
if (!defined('_CAN_LOAD_FILES_'))
exit;
class BlockCmsOverride extends BlockCms
{
public function install()
{
if (!parent::install()
|| !$this->registerHook('displayLeftCms')
)
return false;
return true;
}
public function hookdisplayLeftCms()
{
return $this->displayBlockCMS(BlockCMSModel::LEFT_COLUMN);
}
}