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
framework
Mview
View
StateInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Mview\View
;
7
12
interface
StateInterface
13
{
17
const
MODE_ENABLED
=
'enabled'
;
18
19
const
MODE_DISABLED
=
'disabled'
;
20
26
const
STATUS_IDLE
=
'idle'
;
27
28
const
STATUS_WORKING
=
'working'
;
29
30
const
STATUS_SUSPENDED
=
'suspended'
;
31
40
public
function
loadByView
($viewId);
41
48
public
function
save
();
49
56
public
function
delete
();
57
63
public
function
getViewId
();
64
70
public
function
getMode
();
71
78
public
function
setMode
(
$mode
);
79
85
public
function
getStatus
();
86
93
public
function
setStatus
(
$status
);
94
100
public
function
getVersionId
();
101
108
public
function
setVersionId
($versionId);
109
115
public
function
getUpdated
();
116
123
public
function
setUpdated
($updated);
124
}
Magento\Framework\Mview\View\StateInterface\setUpdated
setUpdated($updated)
Magento\Framework\Mview\View\StateInterface\getUpdated
getUpdated()
Magento\Framework\Mview\View\StateInterface\MODE_ENABLED
const MODE_ENABLED
Definition:
StateInterface.php:17
Magento\Framework\Mview\View\StateInterface\setMode
setMode($mode)
Magento\Framework\Mview\View\StateInterface
Definition:
StateInterface.php:12
Magento\Framework\Mview\View
Definition:
AbstractFactory.php:6
Magento\Framework\Mview\View\StateInterface\STATUS_WORKING
const STATUS_WORKING
Definition:
StateInterface.php:28
Magento\Framework\Mview\View\StateInterface\getMode
getMode()
Magento\Framework\Mview\View\StateInterface\setVersionId
setVersionId($versionId)
Magento\Framework\Mview\View\StateInterface\STATUS_SUSPENDED
const STATUS_SUSPENDED
Definition:
StateInterface.php:30
$mode
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode
Definition:
grid.phtml:15
Magento\Framework\Mview\View\StateInterface\getStatus
getStatus()
Magento\Framework\Mview\View\StateInterface\save
save()
$status
$status
Definition:
order_status.php:8
Magento\Framework\Mview\View\StateInterface\getViewId
getViewId()
Magento\Framework\Mview\View\StateInterface\loadByView
loadByView($viewId)
Magento\Framework\Mview\View\StateInterface\getVersionId
getVersionId()
Magento\Framework\Mview\View\StateInterface\setStatus
setStatus($status)
Magento\Framework\Mview\View\StateInterface\MODE_DISABLED
const MODE_DISABLED
Definition:
StateInterface.php:19
Magento\Framework\Mview\View\StateInterface\STATUS_IDLE
const STATUS_IDLE
Definition:
StateInterface.php:26