Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Review Class Reference
Inheritance diagram for Review:
Action AbstractAction ActionInterface Index View

Public Member Functions

 __construct (Context $context, PageFactory $resultPageFactory)
 
 execute ()
 
- 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 ()
 

Protected Attributes

 $resultPageFactory
 
- 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 Action
 _forward ($action, $controller=null, $module=null, array $params=null)
 
 _redirect ($path, $arguments=[])
 

Detailed Description

Definition at line 11 of file Review.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( Context  $context,
PageFactory  $resultPageFactory 
)
Parameters
Context$context
PageFactory$resultPageFactory

Definition at line 22 of file Review.php.

25  {
26  parent::__construct($context);
27  $this->resultPageFactory = $resultPageFactory;
28  }

Member Function Documentation

◆ execute()

execute ( )
Returns
\Magento\Framework\View\Result\Page

Execute action based on request and return resultNote: Request will be added as operation argument in future

Returns
\Magento\Framework\Controller\ResultInterface|ResponseInterface
Exceptions

Implements ActionInterface.

Definition at line 33 of file Review.php.

34  {
35  return $this->resultPageFactory->create();
36  }

Field Documentation

◆ $resultPageFactory

$resultPageFactory
protected

Definition at line 16 of file Review.php.


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