-
Notifications
You must be signed in to change notification settings - Fork 0
/
qdpmt.php
54 lines (48 loc) · 960 Bytes
/
qdpmt.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
class qdpmt extends Module
{
public function __construct()
{
$this->name = 'qdpmt';
$this->tab = 'qdpmt';
$this->version = 0.1;
$this->author = 'TC';
$this->need_instance = 0;
parent::__construct();
$this->displayName = $this->l( 'Quick-and-dirty Prestashop Module' );
$this->description = $this->l( 'Module template' );
}
public function install()
{
if(
parent::install() === false
/*
||
$this->registerHook('RightColum') === false
*/
)
return false;
return true;
}
public function uninstall()
{
if(
parent::uninstall() == false
/*
||
$this->unregisterHook('RightColum') === false
*/
)
return false;
return true;
}
/*
public function hookRightColumn( $params )
{
global $smarty;
$smarty->assign('variable','var');
return $this->display(__FILE__, 'template.tpl');
}
*/
}
?>