|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (App\Helper\Context $context, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Registry $coreRegistry, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Stdlib\CookieManagerInterface $cookieManager, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $cookieMetadataFactory, \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\Sales\Model\OrderFactory $orderFactory, \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory, \Magento\Sales\Api\OrderRepositoryInterface $orderRepository=null, \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteria=null) | |
| loadValidOrder (App\RequestInterface $request) | |
| getBreadcrumbs (\Magento\Framework\View\Result\Page $resultPage) | |
Public Member Functions inherited from AbstractHelper | |
| __construct (Context $context) | |
| isModuleOutputEnabled ($moduleName=null) | |
Data Fields | |
| const | COOKIE_NAME = 'guest-view' |
| const | COOKIE_PATH = '/' |
| const | COOKIE_LIFETIME = 600 |
Protected Attributes | |
| $coreRegistry | |
| $customerSession | |
| $cookieManager | |
| $cookieMetadataFactory | |
| $messageManager | |
| $orderFactory | |
| $resultRedirectFactory | |
Protected Attributes inherited from AbstractHelper | |
| $_moduleName | |
| $_request | |
| $_moduleManager | |
| $_logger | |
| $_urlBuilder | |
| $_httpHeader | |
| $_eventManager | |
| $_remoteAddress | |
| $urlEncoder | |
| $urlDecoder | |
| $scopeConfig | |
| $_cacheConfig | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractHelper | |
| _getRequest () | |
| _getModuleName () | |
| _getUrl ($route, $params=[]) | |
Sales module base helper @SuppressWarnings(PHPMD.CouplingBetweenObjects)
| __construct | ( | App\Helper\Context | $context, |
| \Magento\Store\Model\StoreManagerInterface | $storeManager, | ||
| \Magento\Framework\Registry | $coreRegistry, | ||
| \Magento\Customer\Model\Session | $customerSession, | ||
| \Magento\Framework\Stdlib\CookieManagerInterface | $cookieManager, | ||
| \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory | $cookieMetadataFactory, | ||
| \Magento\Framework\Message\ManagerInterface | $messageManager, | ||
| \Magento\Sales\Model\OrderFactory | $orderFactory, | ||
| \Magento\Framework\Controller\Result\RedirectFactory | $resultRedirectFactory, | ||
| \Magento\Sales\Api\OrderRepositoryInterface | $orderRepository = null, |
||
| \Magento\Framework\Api\SearchCriteriaBuilder | $searchCriteria = null |
||
| ) |
| App\Helper\Context | $context | |
| \Magento\Store\Model\StoreManagerInterface | $storeManager | |
| \Magento\Framework\Registry | $coreRegistry | |
| \Magento\Customer\Model\Session | $customerSession | |
| \Magento\Framework\Stdlib\CookieManagerInterface | $cookieManager | |
| \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory | $cookieMetadataFactory | |
| \Magento\Framework\Message\ManagerInterface | $messageManager | |
| \Magento\Sales\Model\OrderFactory | $orderFactory | |
| \Magento\Framework\Controller\Result\RedirectFactory | $resultRedirectFactory | |
| \Magento\Sales\Api\OrderRepositoryInterface | $orderRepository | |
| \Magento\Framework\Api\SearchCriteriaBuilder | $searchCriteria | @SuppressWarnings(PHPMD.ExcessiveParameterList) |
Definition at line 108 of file Guest.php.
| getBreadcrumbs | ( | \Magento\Framework\View\Result\Page | $resultPage | ) |
| loadValidOrder | ( | App\RequestInterface | $request | ) |
Try to load valid order by $_POST or $_COOKIE
| App\RequestInterface | $request |