Class Mage_Checkout_Model_Session
Magento
NOTICE OF LICENSE
This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.
DISCLAIMER
Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.
- Varien_Object
- Mage_Core_Model_Session_Abstract_Varien
- Mage_Core_Model_Session_Abstract
- Mage_Checkout_Model_Session
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Checkout/Model/Session.php
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
getAdditionalMessages( boolean $clear = false )
Retrieves list of all saved additional messages for different instances (e.g. quote items) in checkout session Returned: array(itemKey => messageCollection, ...) where itemKey is a unique hash (e.g 'quote_item17') to distinguish item messages among message collections |
public
null|
|
#
getItemAdditionalMessages( string $itemKey, boolean $clear = false )
Retrieves list of item additional messages itemKey is a unique hash (e.g 'quote_item17') to distinguish item messages among message collections |
public
|
#
addItemAdditionalMessage( string $itemKey,
Adds new message in this session to a list of additional messages for some item itemKey is a unique hash (e.g 'quote_item17') to distinguish item messages among message collections |
public
null|
|
#
getQuoteItemMessages( integer $itemId, boolean $clear = false )
Retrieves list of quote item messages |
public
|
#
addQuoteItemMessage( integer $itemId,
Adds new message to a list of quote item messages, saved in this session |
public
|
|
public
|
|
public
|
|
public
|
string |
CHECKOUT_STATE_BEGIN
|
'begin' |
VALIDATOR_HTTP_USER_AGENT_KEY,
VALIDATOR_HTTP_VIA_KEY,
VALIDATOR_HTTP_X_FORVARDED_FOR_KEY,
VALIDATOR_KEY,
VALIDATOR_REMOTE_ADDR_KEY
|
protected
null| |
$_quote |
|
#
Quote instance |
protected
null| |
$_customer |
|
#
Customer instance |
protected
boolean
|
$_loadInactive | false |
#
Whether load only active quote |
$_encryptedSessionId,
$_skipSessionIdFlag,
$_urlHostCache
|