File tree 20 files changed +21
-22
lines changed
Backend/Block/System/Store/Delete
lib/internal/Magento/Framework/Search/Adapter/Mysql 20 files changed +21
-22
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ protected function _prepareLayout()
19
19
{
20
20
$ itemId = $ this ->getRequest ()->getParam ('group_id ' );
21
21
22
- $ this ->setTemplate ('system/store/delete_group.phtml ' );
22
+ $ this ->setTemplate ('Magento_Backend:: system/store/delete_group.phtml ' );
23
23
$ this ->setAction ($ this ->getUrl ('adminhtml/*/deleteGroupPost ' , ['group_id ' => $ itemId ]));
24
24
$ this ->addChild (
25
25
'confirm_deletion_button ' ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ protected function _prepareLayout()
19
19
{
20
20
$ itemId = $ this ->getRequest ()->getParam ('website_id ' );
21
21
22
- $ this ->setTemplate ('system/store/delete_website.phtml ' );
22
+ $ this ->setTemplate ('Magento_Backend:: system/store/delete_website.phtml ' );
23
23
$ this ->setAction ($ this ->getUrl ('adminhtml/*/deleteWebsitePost ' , ['website_id ' => $ itemId ]));
24
24
$ this ->addChild (
25
25
'confirm_deletion_button ' ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\Tree
30
30
*/
31
31
protected function _prepareLayout ()
32
32
{
33
- $ this ->setTemplate ('catalog/category/checkboxes/tree.phtml ' );
33
+ $ this ->setTemplate ('Magento_Catalog:: catalog/category/checkboxes/tree.phtml ' );
34
34
}
35
35
36
36
/**
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function __construct(
41
41
public function _construct ()
42
42
{
43
43
parent ::_construct ();
44
- $ this ->setTemplate ('catalog/product/edit/serializer.phtml ' );
44
+ $ this ->setTemplate ('Magento_Catalog:: catalog/product/edit/serializer.phtml ' );
45
45
return $ this ;
46
46
}
47
47
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ protected function _construct()
82
82
parent ::_construct ();
83
83
$ this ->setUseAjax (true );
84
84
$ this ->_parentTemplate = $ this ->getTemplate ();
85
- $ this ->setTemplate ('tab/cart.phtml ' );
85
+ $ this ->setTemplate ('Magento_Customer:: tab/cart.phtml ' );
86
86
}
87
87
88
88
/**
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ protected function _prepareLayout()
99
99
{
100
100
parent ::_prepareLayout ();
101
101
if (!$ this ->getTemplate ()) {
102
- $ this ->setTemplate ('system/config/validatevat.phtml ' );
102
+ $ this ->setTemplate ('Magento_Customer:: system/config/validatevat.phtml ' );
103
103
}
104
104
return $ this ;
105
105
}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function _construct()
69
69
parent ::_construct ();
70
70
71
71
// default template location
72
- $ this ->setTemplate ('widget/company.phtml ' );
72
+ $ this ->setTemplate ('Magento_Customer:: widget/company.phtml ' );
73
73
}
74
74
75
75
/**
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function __construct(
66
66
public function _construct ()
67
67
{
68
68
parent ::_construct ();
69
- $ this ->setTemplate ('widget/dob.phtml ' );
69
+ $ this ->setTemplate ('Magento_Customer:: widget/dob.phtml ' );
70
70
}
71
71
72
72
/**
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function _construct()
69
69
parent ::_construct ();
70
70
71
71
// default template location
72
- $ this ->setTemplate ('widget/fax.phtml ' );
72
+ $ this ->setTemplate ('Magento_Customer:: widget/fax.phtml ' );
73
73
}
74
74
75
75
/**
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function __construct(
59
59
public function _construct ()
60
60
{
61
61
parent ::_construct ();
62
- $ this ->setTemplate ('widget/gender.phtml ' );
62
+ $ this ->setTemplate ('Magento_Customer:: widget/gender.phtml ' );
63
63
}
64
64
65
65
/**
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function _construct()
62
62
parent ::_construct ();
63
63
64
64
// default template location
65
- $ this ->setTemplate ('widget/name.phtml ' );
65
+ $ this ->setTemplate ('Magento_Customer:: widget/name.phtml ' );
66
66
}
67
67
68
68
/**
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function __construct(
41
41
public function _construct ()
42
42
{
43
43
parent ::_construct ();
44
- $ this ->setTemplate ('widget/taxvat.phtml ' );
44
+ $ this ->setTemplate ('Magento_Customer:: widget/taxvat.phtml ' );
45
45
}
46
46
47
47
/**
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function _construct()
69
69
parent ::_construct ();
70
70
71
71
// default template location
72
- $ this ->setTemplate ('widget/telephone.phtml ' );
72
+ $ this ->setTemplate ('Magento_Customer:: widget/telephone.phtml ' );
73
73
}
74
74
75
75
/**
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function _construct()
86
86
)
87
87
);
88
88
89
- $ this ->setTemplate ('unitofmeasure.phtml ' );
89
+ $ this ->setTemplate ('Magento_Dhl:: unitofmeasure.phtml ' );
90
90
}
91
91
92
92
/**
Original file line number Diff line number Diff line change @@ -110,13 +110,13 @@ protected function _construct()
110
110
if (in_array ($ paymentCode , $ this ->_hssHelper ->getHssMethods ())) {
111
111
$ this ->_paymentMethodCode = $ paymentCode ;
112
112
$ templatePath = str_replace ('_ ' , '' , $ paymentCode );
113
- $ templateFile = "{$ templatePath }/iframe.phtml " ;
113
+ $ templateFile = "Magento_Paypal:: {$ templatePath }/iframe.phtml " ;
114
114
$ directory = $ this ->readFactory ->create ($ this ->reader ->getModuleDir ('' , 'Magento_Paypal ' ));
115
115
$ file = $ this ->resolver ->getTemplateFileName ($ templateFile , ['module ' => 'Magento_Paypal ' ]);
116
116
if ($ file && $ directory ->isExist ($ directory ->getRelativePath ($ file ))) {
117
117
$ this ->setTemplate ($ templateFile );
118
118
} else {
119
- $ this ->setTemplate ('hss/iframe.phtml ' );
119
+ $ this ->setTemplate ('Magento_Paypal:: hss/iframe.phtml ' );
120
120
}
121
121
}
122
122
}
@@ -198,7 +198,7 @@ protected function _beforeToHtml()
198
198
protected function _toHtml ()
199
199
{
200
200
if ($ this ->_isAfterPaymentSave ()) {
201
- $ this ->setTemplate ('hss/js.phtml ' );
201
+ $ this ->setTemplate ('Magento_Paypal:: hss/js.phtml ' );
202
202
return parent ::_toHtml ();
203
203
}
204
204
if (!$ this ->_shouldRender ) {
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ protected function _construct()
139
139
);
140
140
}
141
141
142
- $ this ->setTemplate ('form.phtml ' );
142
+ $ this ->setTemplate ('Magento_Review:: form.phtml ' );
143
143
}
144
144
145
145
/**
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protected function _toHtml()
49
49
$ reviewsCount = $ this ->_ratingFactory ->create ()->getTotalReviews ($ entityId , true );
50
50
if ($ reviewsCount == 0 ) {
51
51
#return __('Be the first to review this product');
52
- $ this ->setTemplate ('empty.phtml ' );
52
+ $ this ->setTemplate ('Magento_Review:: empty.phtml ' );
53
53
return parent ::_toHtml ();
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct(
65
65
*/
66
66
protected function _prepareLayout ()
67
67
{
68
- $ this ->setTemplate ('edit.phtml ' );
68
+ $ this ->setTemplate ('Magento_UrlRewrite:: edit.phtml ' );
69
69
70
70
$ this ->_addBackButton ();
71
71
$ this ->_prepareLayoutFeatures ();
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ protected function _construct()
45
45
$ roleId = $ this ->getRequest ()->getParam ('rid ' , false );
46
46
/** @var \Magento\User\Model\ResourceModel\User\Collection $users */
47
47
$ users = $ this ->_userCollectionFactory ->create ()->load ();
48
- $ this ->setTemplate ('role/users.phtml ' )
48
+ $ this ->setTemplate ('Magento_User:: role/users.phtml ' )
49
49
->assign ('users ' , $ users ->getItems ())
50
50
->assign ('roleId ' , $ roleId );
51
51
}
Original file line number Diff line number Diff line change 7
7
8
8
use Magento \Framework \App \ResourceConnection ;
9
9
use Magento \Framework \DB \Ddl \Table ;
10
- use Magento \Framework \DB \Select ;
11
10
use Magento \Framework \Search \Adapter \Mysql \Aggregation \Builder as AggregationBuilder ;
12
11
use Magento \Framework \Search \AdapterInterface ;
13
12
use Magento \Framework \Search \RequestInterface ;
You can’t perform that action at this time.
0 commit comments