Skip to content

Commit f6946c7

Browse files
authored
Fix some comments and improve some comments
1 parent d64569e commit f6946c7

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

ps_googleanalytics.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct()
6666
}
6767

6868
/**
69-
* back office module configuration page content
69+
* Back office module configuration page content
7070
*/
7171
public function getContent()
7272
{
@@ -91,7 +91,7 @@ public function hookDisplayHeader($params, $back_office = false)
9191
}
9292

9393
/**
94-
* To track transactions
94+
* Confirmation page hook ; to track transactions
9595
*/
9696
public function hookDisplayOrderConfirmation($params)
9797
{
@@ -102,7 +102,7 @@ public function hookDisplayOrderConfirmation($params)
102102
}
103103

104104
/**
105-
* hook footer to load JS script for standards actions such as product clicks
105+
* Footer hook ; to load JS script for standards actions such as product clicks
106106
*/
107107
public function hookDisplayFooter()
108108
{
@@ -112,7 +112,7 @@ public function hookDisplayFooter()
112112
}
113113

114114
/**
115-
* hook home to display generate the product list associated to home featured, news products and best sellers Modules
115+
* Homepage hook ; to manage analytics for product list associated to home featured, news products and best sellers Modules
116116
*/
117117
public function hookDisplayHome()
118118
{
@@ -122,7 +122,7 @@ public function hookDisplayHome()
122122
}
123123

124124
/**
125-
* hook product page footer to load JS for product details view
125+
* Product page footer hook ; to load JS for product details view
126126
*/
127127
public function hookDisplayFooterProduct($params)
128128
{
@@ -147,7 +147,7 @@ public function hookDisplayAdminOrder()
147147
}
148148

149149
/**
150-
* admin office header to add google analytics js
150+
* Admin office header hook ; to add google analytics js
151151
*/
152152
public function hookDisplayBackOfficeHeader()
153153
{
@@ -157,7 +157,7 @@ public function hookDisplayBackOfficeHeader()
157157
}
158158

159159
/**
160-
* Hook admin office header to add google analytics js
160+
* Product cancel action hook in Back office ; to add google analytics js
161161
*/
162162
public function hookActionProductCancel($params)
163163
{
@@ -167,7 +167,7 @@ public function hookActionProductCancel($params)
167167
}
168168

169169
/**
170-
* hook save cart event to implement addtocart and remove from cart functionality
170+
* Save cart event hook ; to implement addtocart and remove from cart functionality
171171
*/
172172
public function hookActionCartSave()
173173
{
@@ -196,9 +196,9 @@ protected function _debugLog($function, $log)
196196
}
197197

198198
/**
199-
* This method is trigger at the installation of the module
200-
* - install all module tables
201-
* - register hook used by the module.
199+
* This method is triggered at the installation of the module
200+
* - it installs all module tables
201+
* - it registers the hooks used by this module
202202
*
203203
* @return bool
204204
*/
@@ -216,7 +216,7 @@ public function install()
216216

217217
/**
218218
* Triggered at the uninstall of the module
219-
* - erase tables
219+
* - erases this module SQL tables
220220
*
221221
* @return bool
222222
*/

0 commit comments

Comments
 (0)