Files
le-matelot/local/modules/RecentlyViewed/Hook/RecentlyViewed.php
2020-01-27 08:56:08 +01:00

30 lines
1.3 KiB
PHP

<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace RecentlyViewed\Hook;
use Thelia\Core\Event\Hook\HookRenderEvent;
use Thelia\Core\Hook\BaseHook;
/**
* Class HookRetractionHook
* @package HookRetraction\Hook
* @author Frédéric Faou <fredodefrance@gmail.com>
*/
class RecentlyViewed extends baseHook
{
/* FRONT - CREATE */
public function onMainBodyBottom(HookRenderEvent $event)
{
$event->add($this->render('recent.html'));
}
}