@@ -46,82 +46,82 @@ class Store extends AbstractExtensibleModel implements
46
46
/**
47
47
* Store Id key name
48
48
*/
49
- const STORE_ID = 'store_id ' ;
49
+ public const STORE_ID = 'store_id ' ;
50
50
51
51
/**
52
52
* Entity name
53
53
*/
54
- const ENTITY = 'store ' ;
54
+ public const ENTITY = 'store ' ;
55
55
56
56
/**
57
57
* Parameter used to determine app context.
58
58
*/
59
- const CUSTOM_ENTRY_POINT_PARAM = 'custom_entry_point ' ;
59
+ public const CUSTOM_ENTRY_POINT_PARAM = 'custom_entry_point ' ;
60
60
61
- /**#@+
61
+ /**
62
62
* Configuration paths
63
63
*/
64
- const XML_PATH_STORE_IN_URL = 'web/url/use_store ' ;
64
+ public const XML_PATH_STORE_IN_URL = 'web/url/use_store ' ;
65
65
66
- const XML_PATH_USE_REWRITES = 'web/seo/use_rewrites ' ;
66
+ public const XML_PATH_USE_REWRITES = 'web/seo/use_rewrites ' ;
67
67
68
- const XML_PATH_UNSECURE_BASE_URL = 'web/unsecure/base_url ' ;
68
+ public const XML_PATH_UNSECURE_BASE_URL = 'web/unsecure/base_url ' ;
69
69
70
- const XML_PATH_SECURE_BASE_URL = 'web/secure/base_url ' ;
70
+ public const XML_PATH_SECURE_BASE_URL = 'web/secure/base_url ' ;
71
71
72
- const XML_PATH_SECURE_IN_FRONTEND = 'web/secure/use_in_frontend ' ;
72
+ public const XML_PATH_SECURE_IN_FRONTEND = 'web/secure/use_in_frontend ' ;
73
73
74
- const XML_PATH_SECURE_IN_ADMINHTML = 'web/secure/use_in_adminhtml ' ;
74
+ public const XML_PATH_SECURE_IN_ADMINHTML = 'web/secure/use_in_adminhtml ' ;
75
75
76
- const XML_PATH_ENABLE_HSTS = 'web/secure/enable_hsts ' ;
76
+ public const XML_PATH_ENABLE_HSTS = 'web/secure/enable_hsts ' ;
77
77
78
- const XML_PATH_ENABLE_UPGRADE_INSECURE = 'web/secure/enable_upgrade_insecure ' ;
78
+ public const XML_PATH_ENABLE_UPGRADE_INSECURE = 'web/secure/enable_upgrade_insecure ' ;
79
79
80
- const XML_PATH_SECURE_BASE_LINK_URL = 'web/secure/base_link_url ' ;
80
+ public const XML_PATH_SECURE_BASE_LINK_URL = 'web/secure/base_link_url ' ;
81
81
82
- const XML_PATH_UNSECURE_BASE_LINK_URL = 'web/unsecure/base_link_url ' ;
82
+ public const XML_PATH_UNSECURE_BASE_LINK_URL = 'web/unsecure/base_link_url ' ;
83
83
84
- const XML_PATH_SECURE_BASE_STATIC_URL = 'web/secure/base_static_url ' ;
84
+ public const XML_PATH_SECURE_BASE_STATIC_URL = 'web/secure/base_static_url ' ;
85
85
86
- const XML_PATH_UNSECURE_BASE_STATIC_URL = 'web/unsecure/base_static_url ' ;
86
+ public const XML_PATH_UNSECURE_BASE_STATIC_URL = 'web/unsecure/base_static_url ' ;
87
87
88
- const XML_PATH_SECURE_BASE_MEDIA_URL = 'web/secure/base_media_url ' ;
88
+ public const XML_PATH_SECURE_BASE_MEDIA_URL = 'web/secure/base_media_url ' ;
89
89
90
- const XML_PATH_UNSECURE_BASE_MEDIA_URL = 'web/unsecure/base_media_url ' ;
90
+ public const XML_PATH_UNSECURE_BASE_MEDIA_URL = 'web/unsecure/base_media_url ' ;
91
91
92
- const XML_PATH_PRICE_SCOPE = 'catalog/price/scope ' ;
92
+ public const XML_PATH_PRICE_SCOPE = 'catalog/price/scope ' ;
93
93
94
- const PRICE_SCOPE_GLOBAL = 0 ;
94
+ public const PRICE_SCOPE_GLOBAL = 0 ;
95
95
96
- const PRICE_SCOPE_WEBSITE = 1 ;
96
+ public const PRICE_SCOPE_WEBSITE = 1 ;
97
97
98
- const ADMIN_CODE = 'admin ' ;
98
+ public const ADMIN_CODE = 'admin ' ;
99
99
100
100
/**
101
101
* Tag to use to cache stores.
102
102
*/
103
- const CACHE_TAG = 'store ' ;
103
+ public const CACHE_TAG = 'store ' ;
104
104
105
105
/**
106
106
* Script name, which returns all the images
107
107
*/
108
- const MEDIA_REWRITE_SCRIPT = 'get.php/ ' ;
108
+ public const MEDIA_REWRITE_SCRIPT = 'get.php/ ' ;
109
109
110
110
/**
111
111
* A placeholder for generating base URL
112
112
*/
113
- const BASE_URL_PLACEHOLDER = '{{base_url}} ' ;
113
+ public const BASE_URL_PLACEHOLDER = '{{base_url}} ' ;
114
114
115
115
/**
116
116
* Identifier of default store
117
117
* used for loading data of default scope
118
118
*/
119
- const DEFAULT_STORE_ID = 0 ;
119
+ public const DEFAULT_STORE_ID = 0 ;
120
120
121
121
/**
122
122
* Default store Id (for install)
123
123
*/
124
- const DISTRO_STORE_ID = 1 ;
124
+ public const DISTRO_STORE_ID = 1 ;
125
125
126
126
/**
127
127
* @var \Magento\Framework\App\Cache\Type\Config
0 commit comments