Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-store
Model
StoreManagerInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Store\Model
;
8
9
use
Magento\Framework\Exception\NoSuchEntityException
;
10
17
interface
StoreManagerInterface
18
{
22
const
CONTEXT_STORE
=
'store'
;
23
27
const
PARAM_NAME
=
'___store'
;
28
35
public
function
setIsSingleStoreModeAllowed
(
$value
);
36
42
public
function
hasSingleStore
();
43
49
public
function
isSingleStoreMode
();
50
58
public
function
getStore
(
$storeId
=
null
);
59
67
public
function
getStores
($withDefault =
false
, $codeKey =
false
);
68
76
public
function
getWebsite
(
$websiteId
=
null
);
77
85
public
function
getWebsites
($withDefault =
false
, $codeKey =
false
);
86
92
public
function
reinitStores
();
93
99
public
function
getDefaultStoreView
();
100
107
public
function
getGroup
(
$groupId
=
null
);
108
115
public
function
getGroups
($withDefault =
false
);
116
123
public
function
setCurrentStore
(
$store
);
124
}
Magento\Store\Model\StoreManagerInterface\hasSingleStore
hasSingleStore()
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
Magento\Store\Model\StoreManagerInterface\getWebsite
getWebsite($websiteId=null)
Magento\Store\Model\StoreManagerInterface\CONTEXT_STORE
const CONTEXT_STORE
Definition:
StoreManagerInterface.php:22
Magento\Store\Model\StoreManagerInterface\PARAM_NAME
const PARAM_NAME
Definition:
StoreManagerInterface.php:27
Magento\Store\Model\StoreManagerInterface\isSingleStoreMode
isSingleStoreMode()
Magento\Store\Model\StoreManagerInterface\getWebsites
getWebsites($withDefault=false, $codeKey=false)
Magento\Store\Model\StoreManagerInterface\setIsSingleStoreModeAllowed
setIsSingleStoreModeAllowed($value)
Magento\Store\Model\StoreManagerInterface\getStore
getStore($storeId=null)
Magento\Store\Model
Magento\Store\Model\StoreManagerInterface
Definition:
StoreManagerInterface.php:17
$value
$value
Definition:
gender.phtml:16
Magento\Store\Model\StoreManagerInterface\setCurrentStore
setCurrentStore($store)
Magento\Store\Model\StoreManagerInterface\getDefaultStoreView
getDefaultStoreView()
$groupId
$groupId
Definition:
filterable_attributes.php:14
Magento\Store\Model\StoreManagerInterface\getGroup
getGroup($groupId=null)
Magento\Store\Model\StoreManagerInterface\getStores
getStores($withDefault=false, $codeKey=false)
$store
$store
Definition:
payment_configuration_rollback.php:33
Magento\Store\Model\StoreManagerInterface\reinitStores
reinitStores()
Magento\Store\Model\StoreManagerInterface\getGroups
getGroups($withDefault=false)
$websiteId
$websiteId
Definition:
products_with_websites_and_stores.php:11
Magento\Framework\Exception\NoSuchEntityException
Definition:
NoSuchEntityException.php:16