bebeboutik/modules/ant_promobanner/ant_promobanner.php

41 lines
797 B
PHP
Raw Permalink Normal View History

2017-06-27 18:22:24 +02:00
<?php
if (!defined('_PS_VERSION_'))
exit;
class Ant_Promobanner extends Module
{
public function __construct()
{
$this->name = 'ant_promobanner';
$this->tab = 'administration';
$this->author = 'Antadis';
$this->version = '1.0';
$this->need_instance = 0;
parent::__construct();
$this->displayName = $this->l('Bannière promotionnelle');
$this->description = $this->l('Permet d\'ajouter une bannière promotionnelle sur la home');
}
public function install()
{
if(!(parent::install())) {
return false;
}
return true;
}
public function uninstall() {
if(parent::uninstall() == false) {
return false;
}
return true;
}
}