|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Checkout\Model\Session $checkoutSession, \Magento\Catalog\Model\ResourceModel\Url $catalogUrl, \Magento\Checkout\Model\Cart $checkoutCart, \Magento\Checkout\Helper\Data $checkoutHelper, ItemPoolInterface $itemPoolInterface, \Magento\Framework\View\LayoutInterface $layout, array $data=[]) | |
| getSectionData () | |
| isGuestCheckoutAllowed () | |
Public Member Functions inherited from DataObject | |
| __construct (array $data=[]) | |
| addData (array $arr) | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| getData ($key='', $index=null) | |
| getDataByPath ($path) | |
| getDataByKey ($key) | |
| setDataUsingMethod ($key, $args=[]) | |
| getDataUsingMethod ($key, $args=null) | |
| hasData ($key='') | |
| toArray (array $keys=[]) | |
| convertToArray (array $keys=[]) | |
| toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| toJson (array $keys=[]) | |
| convertToJson (array $keys=[]) | |
| toString ($format='') | |
| __call ($method, $args) | |
| isEmpty () | |
| serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
| debug ($data=null, &$objects=[]) | |
| offsetSet ($offset, $value) | |
| offsetExists ($offset) | |
| offsetUnset ($offset) | |
| offsetGet ($offset) | |
Protected Member Functions | |
| getQuote () | |
| getSummaryCount () | |
| isPossibleOnepageCheckout () | |
| getRecentItems () | |
| getAllQuoteItems () | |
Protected Member Functions inherited from DataObject | |
| _getData ($key) | |
| _underscore ($name) | |
Protected Attributes | |
| $checkoutSession | |
| $checkoutCart | |
| $catalogUrl | |
| $quote = null | |
| $checkoutHelper | |
| $itemPoolInterface | |
| $summeryCount | |
| $layout | |
Protected Attributes inherited from DataObject | |
| $_data = [] | |
Additional Inherited Members | |
Static Protected Attributes inherited from DataObject | |
| static | $_underscoreCache = [] |
| __construct | ( | \Magento\Checkout\Model\Session | $checkoutSession, |
| \Magento\Catalog\Model\ResourceModel\Url | $catalogUrl, | ||
| \Magento\Checkout\Model\Cart | $checkoutCart, | ||
| \Magento\Checkout\Helper\Data | $checkoutHelper, | ||
| ItemPoolInterface | $itemPoolInterface, | ||
| \Magento\Framework\View\LayoutInterface | $layout, | ||
| array | $data = [] |
||
| ) |
| \Magento\Checkout\Model\Session | $checkoutSession | |
| \Magento\Catalog\Model\ResourceModel\Url | $catalogUrl | |
| \Magento\Checkout\Model\Cart | $checkoutCart | |
| \Magento\Checkout\Helper\Data | $checkoutHelper | |
| ItemPoolInterface | $itemPoolInterface | |
| \Magento\Framework\View\LayoutInterface | $layout | |
| array | $data | @codeCoverageIgnore |
Definition at line 66 of file Cart.php.
|
protected |
|
protected |
|
protected |
| getSectionData | ( | ) |
{Get data
Implements SectionSourceInterface.
Definition at line 87 of file Cart.php.
|
protected |
| isGuestCheckoutAllowed | ( | ) |
|
protected |