payment modules

This commit is contained in:
Etienne Roudeix
2013-09-18 17:06:08 +02:00
parent b8c2bdc8df
commit 16d0985718
9 changed files with 137 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ namespace Cheque;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
use Thelia\Model\ModuleImageQuery;
use Thelia\Module\BaseModule;
use Thelia\Module\PaymentModuleInterface;
@@ -59,6 +60,11 @@ class Cheque extends BaseModule implements PaymentModuleInterface
}
public function install()
{
}
public function afterActivation()
{
/* insert the images from image folder if first module activation */
$module = $this->getModuleModel();