payment modules
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -67,6 +67,11 @@ class Colissimo extends BaseModule implements DeliveryModuleInterface
|
||||
return 2;
|
||||
}
|
||||
|
||||
public function afterActivation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* YOU HAVE TO IMPLEMENT HERE ABSTRACT METHODD FROM BaseModule Class
|
||||
* Like install and destroy
|
||||
|
||||
@@ -32,6 +32,11 @@ class DebugBar extends BaseModule
|
||||
* Like install and destroy
|
||||
*/
|
||||
|
||||
public function afterActivation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
// TODO: Implement install() method.
|
||||
|
||||
@@ -60,6 +60,11 @@ class FakeCB extends BaseModule implements PaymentModuleInterface
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function afterActivation()
|
||||
{
|
||||
/* insert the images from image folder if first module activation */
|
||||
$module = $this->getModuleModel();
|
||||
|
||||
Reference in New Issue
Block a user