Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
ProductGrid Class Reference
Inheritance diagram for ProductGrid:
Product HttpPostActionInterface HttpGetActionInterface Action ActionInterface ActionInterface AbstractAction ActionInterface

Public Member Functions

 __construct (Context $context, Registry $coreRegistry, ReviewFactory $reviewFactory, RatingFactory $ratingFactory, LayoutFactory $layoutFactory)
 
- Public Member Functions inherited from Product
 __construct (\Magento\Framework\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Customer\Model\Session $customerSession, \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository, \Psr\Log\LoggerInterface $logger, \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, \Magento\Review\Model\ReviewFactory $reviewFactory, \Magento\Review\Model\RatingFactory $ratingFactory, \Magento\Catalog\Model\Design $catalogDesign, \Magento\Framework\Session\Generic $reviewSession, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator)
 
 dispatch (RequestInterface $request)
 
- Public Member Functions inherited from Action
 __construct (Context $context)
 
 dispatch (RequestInterface $request)
 
 getActionFlag ()
 
- Public Member Functions inherited from AbstractAction
 __construct (Context $context)
 
 dispatch (RequestInterface $request)
 
 getRequest ()
 
 getResponse ()
 
- Public Member Functions inherited from ActionInterface
 execute ()
 

Protected Attributes

 $layoutFactory
 
- Protected Attributes inherited from Product
 $coreRegistry = null
 
 $customerSession
 
 $reviewSession
 
 $categoryRepository
 
 $logger
 
 $productRepository
 
 $reviewFactory
 
 $ratingFactory
 
 $catalogDesign
 
 $storeManager
 
 $formKeyValidator
 
- Protected Attributes inherited from Action
 $_objectManager
 
 $_sessionNamespace
 
 $_eventManager
 
 $_actionFlag
 
 $_redirect
 
 $_view
 
 $_url
 
 $messageManager
 
- Protected Attributes inherited from AbstractAction
 $_request
 
 $_response
 
 $resultRedirectFactory
 
 $resultFactory
 

Additional Inherited Members

- Data Fields inherited from ActionInterface
const FLAG_NO_DISPATCH = 'no-dispatch'
 
const FLAG_NO_POST_DISPATCH = 'no-postDispatch'
 
const FLAG_NO_DISPATCH_BLOCK_EVENT = 'no-beforeGenerateLayoutBlocksDispatch'
 
const PARAM_NAME_BASE64_URL = 'r64'
 
const PARAM_NAME_URL_ENCODED = 'uenc'
 
- Protected Member Functions inherited from Product
 initProduct ()
 
 loadProduct ($productId)
 
- Protected Member Functions inherited from Action
 _forward ($action, $controller=null, $module=null, array $params=null)
 
 _redirect ($path, $arguments=[])
 

Detailed Description

Definition at line 18 of file ProductGrid.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( Context  $context,
Registry  $coreRegistry,
ReviewFactory  $reviewFactory,
RatingFactory  $ratingFactory,
LayoutFactory  $layoutFactory 
)
Parameters
\Magento\Backend\App\Action\Context$context
\Magento\Framework\Registry$coreRegistry
\Magento\Review\Model\ReviewFactory$reviewFactory
\Magento\Review\Model\RatingFactory$ratingFactory
\Magento\Framework\View\LayoutFactory$layoutFactory

Definition at line 32 of file ProductGrid.php.

Field Documentation

◆ $layoutFactory

$layoutFactory
protected

Definition at line 23 of file ProductGrid.php.


The documentation for this class was generated from the following file: