-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathMagento Plugin Before Method.php.html
43 lines (43 loc) · 1.8 KB
/
Magento Plugin Before Method.php.html
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
<!--
/*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<html>
<body>
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
<tr>
<td><font face="verdana" size="-1">Magento runs all before methods ahead of the call to an observed method.
These methods must have the same name as the observed method with ‘before’ as the prefix.
</font><br>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
<tr>
<td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
</tr>
<tr>
<td valign="top"><nobr><font face="verdana" size="-2"><b>${PARAM_DOC}</b></font></nobr></td>
<td width="10"> </td>
<td width="100%" valign="top"><font face="verdana" size="-1">PHP DocBlock for plugin function</font></td>
</tr>
<tr>
<td valign="top"><nobr><font face="verdana" size="-2"><b>${NAME}</b></font></nobr></td>
<td width="10"> </td>
<td width="100%" valign="top"><font face="verdana" size="-1">Name of the plugin function</font></td>
</tr>
<tr>
<td valign="top"><nobr><font face="verdana" size="-2"><b>${PARAM_LIST}</b></font></nobr></td>
<td width="10"> </td>
<td width="100%" valign="top"><font face="verdana" size="-1">List of plugin function parameters</font></td>
</tr>
<tr>
<td valign="top"><nobr><font face="verdana" size="-2"><b>${RETURN_VARIABLES}</b></font></nobr></td>
<td width="10"> </td>
<td width="100%" valign="top"><font face="verdana" size="-1">Return value for plugin function</font></td>
</tr>
</table>
</body>
</html>