Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-review
Block
Product
View
Other.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Review\Block\Product\View
;
7
14
class
Other
extends
\Magento\Framework\View\Element\Template
15
{
19
protected
$_registry
;
20
26
public
function
__construct
(
27
\
Magento
\Framework\
View
\Element\
Template
\
Context
$context,
28
\
Magento
\Framework\Registry
$registry
,
29
array
$data
= []
30
) {
31
$this->_registry =
$registry
;
32
parent::__construct($context,
$data
);
33
}
34
40
public
function
getProduct
()
41
{
42
return
$this->_registry->registry(
'product'
);
43
}
44
}
Magento\Review\Block\Product\View\Other\$_registry
$_registry
Definition:
Other.php:19
Magento\Review\Block\Product\View
Definition:
View.php:17
Magento\Review\Block\Product\View\Other
Definition:
Other.php:14
Magento\Review\Block\Product\View\Other\__construct
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, array $data=[])
Definition:
Other.php:26
$registry
$registry
Definition:
bundle_product_with_not_visible_children_rollback.php:16
Magento\Framework\View\Element\Template\Context
Definition:
Context.php:23
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Review\Block\Product\View
Definition:
ListView.php:6
Magento
Magento\Framework\View\Element\Template
Definition:
Template.php:32
Magento\Review\Block\Product\View\Other\getProduct
getProduct()
Definition:
Other.php:40