|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / a / home / dev2.destoffenstraat.com / vendor / magento / framework / Mview / View / |
Filename | /home/a/home/dev2.destoffenstraat.com/vendor/magento/framework/Mview/View/StateInterface.php |
Size | 2.24 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 21-Aug-2025 12:26 |
Last modified | 07-Jan-2021 21:08 |
Last accessed | 23-Aug-2025 00:32 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Mview\View;
/**
* Interface \Magento\Framework\Mview\View\StateInterface
*
*/
interface StateInterface
{
/**#@+
* View modes
*/
const MODE_ENABLED = 'enabled';
const MODE_DISABLED = 'disabled';
/**#@-*/
/**#@+
* View statuses
*/
const STATUS_IDLE = 'idle';
const STATUS_WORKING = 'working';
const STATUS_SUSPENDED = 'suspended';
/**#@-*/
/**
* Fill object with state data by view ID
*
* @param string $viewId
* @return $this
*/
public function loadByView($viewId);
/**
* Save state object
*
* @return \Magento\Framework\Mview\View\StateInterface
* @throws \Exception
*/
public function save();
/**
* Delete state object
*
* @return \Magento\Framework\Mview\View\StateInterface
* @throws \Exception
*/
public function delete();
/**
* Get state view ID
*
* @return string
*/
public function getViewId();
/**
* Get state mode
*
* @return string
*/
public function getMode();
/**
* Set state mode
*
* @param string $mode
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setMode($mode);
/**
* Get state status
*
* @return string
*/
public function getStatus();
/**
* Set state status
*
* @param string $status
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setStatus($status);
/**
* Get state version ID
*
* @return string
*/
public function getVersionId();
/**
* Set state version ID
*
* @param int $versionId
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setVersionId($versionId);
/**
* Get state updated time
*
* @return string
*/
public function getUpdated();
/**
* Set state updated time
*
* @param string|int|\DateTimeInterface $updated
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setUpdated($updated);
}
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Mview\View;
/**
* Interface \Magento\Framework\Mview\View\StateInterface
*
*/
interface StateInterface
{
/**#@+
* View modes
*/
const MODE_ENABLED = 'enabled';
const MODE_DISABLED = 'disabled';
/**#@-*/
/**#@+
* View statuses
*/
const STATUS_IDLE = 'idle';
const STATUS_WORKING = 'working';
const STATUS_SUSPENDED = 'suspended';
/**#@-*/
/**
* Fill object with state data by view ID
*
* @param string $viewId
* @return $this
*/
public function loadByView($viewId);
/**
* Save state object
*
* @return \Magento\Framework\Mview\View\StateInterface
* @throws \Exception
*/
public function save();
/**
* Delete state object
*
* @return \Magento\Framework\Mview\View\StateInterface
* @throws \Exception
*/
public function delete();
/**
* Get state view ID
*
* @return string
*/
public function getViewId();
/**
* Get state mode
*
* @return string
*/
public function getMode();
/**
* Set state mode
*
* @param string $mode
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setMode($mode);
/**
* Get state status
*
* @return string
*/
public function getStatus();
/**
* Set state status
*
* @param string $status
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setStatus($status);
/**
* Get state version ID
*
* @return string
*/
public function getVersionId();
/**
* Set state version ID
*
* @param int $versionId
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setVersionId($versionId);
/**
* Get state updated time
*
* @return string
*/
public function getUpdated();
/**
* Set state updated time
*
* @param string|int|\DateTimeInterface $updated
* @return \Magento\Framework\Mview\View\StateInterface
*/
public function setUpdated($updated);
}