Class Mage_Core_Model_Store
Store model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Core_Model_Store
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Core/Model/Store.php
protected
|
|
protected
|
|
public
|
|
public
|
|
public
string
|
|
public
string|null
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
string
|
#
_processConfigValue( string $fullPath, string $path, Varien_Simplexml_Element $node )
Process config value |
public
string
|
|
public
string
|
|
public
string
|
#
getBaseUrl( string $type =
Retrieve base URL |
protected
string
|
#
_updatePathUseRewrites( string $url )
Remove script file name from url in case when server rewrites are enabled |
protected
boolean
|
|
protected
string
|
#
_updateMediaPathUseRewrites( null|boolean $secure = null, string $type =
Retrieve URL for media catalog |
protected
string
|
#
_updatePathUseStoreView( string $url )
Add store code to url in case if it is enabled in configuration |
public
boolean
|
|
public
integer
|
|
public
unknown
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
|
|
public
float
|
|
public
float
|
#
convertPrice( float $price, boolean $format = false, boolean $includeContainer = true )
Convert price from default currency to current currency |
public
float
|
|
public
string
|
#
formatPrice( float $price, boolean $includeContainer = true )
Format price with currency filter (taking rate into consideration) |
public
Varien_Filter_Sprintf
|
|
public
integer
|
|
public
|
|
public
|
|
public
string|integer|null
|
|
public
string|integer|null
|
|
public
string|integer|null
|
|
public
boolean
|
|
public
string
|
|
public
boolean|null
|
|
public
string|null
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
boolean
|
|
public
string
|
string |
ENTITY
|
'core_store' |
#
Entity name |
string |
XML_PATH_STORE_STORE_NAME
|
'general/store_information/name' |
#
Configuration pathes |
string |
XML_PATH_STORE_STORE_PHONE
|
'general/store_information/phone' |
|
string |
XML_PATH_STORE_IN_URL
|
'web/url/use_store' |
|
string |
XML_PATH_USE_REWRITES
|
'web/seo/use_rewrites' |
|
string |
XML_PATH_UNSECURE_BASE_URL
|
'web/unsecure/base_url' |
|
string |
XML_PATH_SECURE_BASE_URL
|
'web/secure/base_url' |
|
string |
XML_PATH_SECURE_IN_FRONTEND
|
'web/secure/use_in_frontend' |
|
string |
XML_PATH_SECURE_IN_ADMINHTML
|
'web/secure/use_in_adminhtml' |
|
string |
XML_PATH_SECURE_BASE_LINK_URL
|
'web/secure/base_link_url' |
|
string |
XML_PATH_UNSECURE_BASE_LINK_URL
|
'web/unsecure/base_link_url' |
|
string |
XML_PATH_OFFLOADER_HEADER
|
'web/secure/offloader_header' |
|
string |
XML_PATH_PRICE_SCOPE
|
'catalog/price/scope' |
|
integer |
PRICE_SCOPE_GLOBAL
|
0 |
#
Price scope constants |
integer |
PRICE_SCOPE_WEBSITE
|
1 |
|
string |
URL_TYPE_LINK
|
'link' |
#
Possible URL types |
string |
URL_TYPE_DIRECT_LINK
|
'direct_link' |
|
string |
URL_TYPE_WEB
|
'web' |
|
string |
URL_TYPE_SKIN
|
'skin' |
|
string |
URL_TYPE_JS
|
'js' |
|
string |
URL_TYPE_MEDIA
|
'media' |
|
string |
DEFAULT_CODE
|
'default' |
#
Code constants |
string |
ADMIN_CODE
|
'admin' |
|
string |
CACHE_TAG
|
'store' |
#
Cache tag |
string |
COOKIE_NAME
|
'store' |
#
Cookie name |
string |
COOKIE_CURRENCY
|
'currency' |
#
Cookie currency key |
string |
MEDIA_REWRITE_SCRIPT
|
'get.php/' |
#
Script name, which returns all the images |
protected
boolean
|
$_cacheTag | true |
#
Cache flag |
protected
string
|
$_eventPrefix | 'store' |
#
Event prefix for model events |
protected
string
|
$_eventObject | 'store' |
#
Event object name |
protected
|
$_priceFilter |
|
#
Price filter |
protected
|
$_website |
|
#
Website model |
protected
|
$_group |
|
#
Group model |
protected
array|null
|
$_configCache | null |
#
Store configuration cache |
protected
array
|
$_configCacheBaseNodes | array() |
#
Base nodes of store configuration cache |
protected
array
|
$_dirCache | array() |
#
Directory cache |
protected
array
|
$_urlCache | array() |
#
URL cache |
protected
array
|
$_baseUrlCache | array() |
#
Base URL cache |
protected
|
$_session |
|
#
Session entity |
protected
boolean|null
|
$_isAdminSecure | null |
#
Flag that shows that backend URLs are secure |
protected
boolean|null
|
$_isFrontSecure | null |
#
Flag that shows that frontend URLs are secure |
protected
string|null
|
$_frontendName | null |
#
Store frontend name |
private
boolean
|
$_isReadOnly | false |
#
Readonly flag |
$_dataSaveAllowed,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|