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-catalog-inventory
Block
Stockqty
Composite.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\CatalogInventory\Block\Stockqty
;
8
9
use
Magento\Catalog\Model\Product
;
10
14
abstract
class
Composite
extends
DefaultStockqty
15
{
21
private
$_childProducts;
22
28
abstract
protected
function
_getChildProducts
();
29
35
public
function
getChildProducts
()
36
{
37
if
($this->_childProducts ===
null
) {
38
$this->_childProducts = $this->
_getChildProducts
();
39
}
40
return
$this->_childProducts;
41
}
42
48
public
function
getDetailsPlaceholderId
()
49
{
50
return
$this->
getPlaceholderId
() .
'-details'
;
51
}
52
}
Magento\CatalogInventory\Block\Stockqty\Composite
Definition:
Composite.php:14
Magento\CatalogInventory\Block\Stockqty\DefaultStockqty
Definition:
DefaultStockqty.php:19
Magento\CatalogInventory\Block\Stockqty\Composite\getChildProducts
getChildProducts()
Definition:
Composite.php:35
Magento\CatalogInventory\Block\Stockqty\Composite\_getChildProducts
_getChildProducts()
Magento\Catalog\Model\Product
Definition:
ActionTest.php:6
Magento\CatalogInventory\Block\Stockqty
Definition:
AbstractStockqty.php:7
Magento\CatalogInventory\Block\Stockqty\AbstractStockqty\getPlaceholderId
getPlaceholderId()
Definition:
AbstractStockqty.php:122
Magento\CatalogInventory\Block\Stockqty\Composite\getDetailsPlaceholderId
getDetailsPlaceholderId()
Definition:
Composite.php:48