41 if (!isset(
$data[
'mode'])) {
44 if (!isset(
$data[
'status'])) {
58 $this->
load($viewId,
'view_id');
59 if (!$this->
getId()) {
60 $this->setViewId($viewId);
73 return parent::beforeSave();
83 return $this->
getData(
'view_id');
115 return $this->
getData(
'status');
137 return $this->
getData(
'updated');
148 $this->
setData(
'updated', $updated);
159 return $this->
getData(
'version_id');
170 $this->
setData(
'version_id', $versionId);
setData($key, $value=null)
getData($key='', $index=null)
load($modelId, $field=null)
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode
__construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Indexer\Model\ResourceModel\Mview\View\State $resource, \Magento\Indexer\Model\ResourceModel\Mview\View\State\Collection $resourceCollection, array $data=[])