Project init

This commit is contained in:
2026-02-09 11:39:50 +01:00
parent b88d2b8abc
commit 835aabc531
11 changed files with 184 additions and 0 deletions

59
ws_faqAccordion.php Normal file
View File

@@ -0,0 +1,59 @@
<?php
/**
* 2007-2026 De Websmid BV
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please contact us for extra customization service at an affordable price
*
* @author De Websmid BV <info@dewebsmid.nl>
* @copyright 2007-2026 De Websmid BV
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of De Websmid BV
*/
use WsFaqAccordion\Module\Install;
use WsFaqAccordion\Module\displayHooks;
if (!defined('_PS_VERSION_')) {
exit;
}
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once __DIR__ . '/vendor/autoload.php';
}
class ws_faqAccordion extends Module
{
use Install;
use displayHooks;
public function __construct()
{
$this->name = 'ws_faqAccordion';
$this->tab = 'other';
$this->version = '1.0.0';
$this->author = 'Isabelle Oving-Anno | De Websmid b.v.';
$this->need_instance = 0;
$this->ps_versions_compliancy = [
'min' => '1.7.0',
'max' => '9.99.99',
];
$this -> bootstrap = true;
parent::__construct();
$this->displayName = $this->l('FAQ Accordion');
$this->description = $this->l('Displays your info as a FAQ accordion');
}
}