49 private $imageProvider;
61 \
Magento\Framework\Filter\Input\MaliciousCode $maliciousCode,
69 $this->_maliciousCode = $maliciousCode;
72 parent::__construct($context,
$data);
83 return $this->_maliciousCode->filter(
$content);
113 if ($this->_store ===
null) {
114 $this->_store = $this->_storeManager->getStore();
130 ? $this->priceCurrency->convertAndFormat(
$price, $includeContainer)
131 : $this->priceCurrency->convert(
$price);
141 $this->_products = [];
172 return [
'_scope' => $this->
getStore(),
'_scope_to_url' =>
true];
180 return $this->_layout->createBlock(
181 \
Magento\Framework\Pricing\Render::class,
183 [
'data' => [
'price_render_handle' =>
'catalog_product_prices']]
196 public function getProductPriceHtml(
199 $renderZone = \
Magento\Framework\Pricing\Render::ZONE_ITEM_LIST,
211 $price = $priceRender->render(
getImage($product, $imageId, $attributes=[])
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Filter\Input\MaliciousCode $maliciousCode, PriceCurrencyInterface $priceCurrency, \Magento\Catalog\Block\Product\ImageBuilder $imageBuilder, array $data=[], ImageProvider $imageProvider=null)
formatPrice($price, $format=true, $includeContainer=true)
getFilteredContent($content)
addProduct(\Magento\Catalog\Model\Product $product)