|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator, \Magento\Customer\Model\Metadata\FormFactory $formFactory, \Magento\Customer\Api\AddressRepositoryInterface $addressRepository, \Magento\Customer\Api\Data\AddressInterfaceFactory $addressDataFactory, \Magento\Customer\Api\Data\RegionInterfaceFactory $regionDataFactory, \Magento\Framework\Reflection\DataObjectProcessor $dataProcessor, \Magento\Framework\Api\DataObjectHelper $dataObjectHelper, \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory, \Magento\Framework\View\Result\PageFactory $resultPageFactory) | |
| 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 Member Functions | |
| _getSession () | |
Protected Member Functions inherited from Action | |
| _forward ($action, $controller=null, $module=null, array $params=null) | |
| _redirect ($path, $arguments=[]) | |
Protected Attributes | |
| $_customerSession | |
| $_formKeyValidator | |
| $_addressRepository | |
| $_formFactory | |
| $addressDataFactory | |
| $regionDataFactory | |
| $_dataProcessor | |
| $dataObjectHelper | |
| $resultForwardFactory | |
| $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' |
Customer address controller
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 15 of file Address.php.
| __construct | ( | \Magento\Framework\App\Action\Context | $context, |
| \Magento\Customer\Model\Session | $customerSession, | ||
| \Magento\Framework\Data\Form\FormKey\Validator | $formKeyValidator, | ||
| \Magento\Customer\Model\Metadata\FormFactory | $formFactory, | ||
| \Magento\Customer\Api\AddressRepositoryInterface | $addressRepository, | ||
| \Magento\Customer\Api\Data\AddressInterfaceFactory | $addressDataFactory, | ||
| \Magento\Customer\Api\Data\RegionInterfaceFactory | $regionDataFactory, | ||
| \Magento\Framework\Reflection\DataObjectProcessor | $dataProcessor, | ||
| \Magento\Framework\Api\DataObjectHelper | $dataObjectHelper, | ||
| \Magento\Framework\Controller\Result\ForwardFactory | $resultForwardFactory, | ||
| \Magento\Framework\View\Result\PageFactory | $resultPageFactory | ||
| ) |
| \Magento\Framework\App\Action\Context | $context | |
| \Magento\Customer\Model\Session | $customerSession | |
| \Magento\Framework\Data\Form\FormKey\Validator | $formKeyValidator | |
| \Magento\Customer\Model\Metadata\FormFactory | $formFactory | |
| \Magento\Customer\Api\AddressRepositoryInterface | $addressRepository | |
| \Magento\Customer\Api\Data\AddressInterfaceFactory | $addressDataFactory | |
| \Magento\Customer\Api\Data\RegionInterfaceFactory | $regionDataFactory | |
| \Magento\Framework\Reflection\DataObjectProcessor | $dataProcessor | |
| \Magento\Framework\Api\DataObjectHelper | $dataObjectHelper | |
| \Magento\Framework\Controller\Result\ForwardFactory | $resultForwardFactory | |
| \Magento\Framework\View\Result\PageFactory | $resultPageFactory | @SuppressWarnings(PHPMD.ExcessiveParameterList) |
Definition at line 81 of file Address.php.
|
protected |
Retrieve customer session object
Definition at line 112 of file Address.php.
| dispatch | ( | RequestInterface | $request | ) |
Check customer authentication
| RequestInterface | $request |
Definition at line 123 of file Address.php.
|
protected |
Definition at line 30 of file Address.php.
|
protected |
Definition at line 20 of file Address.php.
|
protected |
Definition at line 50 of file Address.php.
|
protected |
Definition at line 35 of file Address.php.
|
protected |
Definition at line 25 of file Address.php.
|
protected |
Definition at line 40 of file Address.php.
|
protected |
Definition at line 55 of file Address.php.
|
protected |
Definition at line 45 of file Address.php.
|
protected |
Definition at line 60 of file Address.php.
|
protected |
Definition at line 65 of file Address.php.