mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
51 lines
1.9 KiB
PHP
51 lines
1.9 KiB
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Widget\Model\Layout;
|
|
|
|
/**
|
|
* Layout Update model class
|
|
*
|
|
* @method int getIsTemporary() getIsTemporary()
|
|
* @method int getLayoutLinkId() getLayoutLinkId()
|
|
* @method string getUpdatedAt() getUpdatedAt()
|
|
* @method string getXml() getXml()
|
|
* @method \Magento\Widget\Model\Layout\Update setIsTemporary() setIsTemporary(int $isTemporary)
|
|
* @method \Magento\Widget\Model\Layout\Update setHandle() setHandle(string $handle)
|
|
* @method \Magento\Widget\Model\Layout\Update setXml() setXml(string $xml)
|
|
* @method \Magento\Widget\Model\Layout\Update setStoreId() setStoreId(int $storeId)
|
|
* @method \Magento\Widget\Model\Layout\Update setThemeId() setThemeId(int $themeId)
|
|
* @method \Magento\Widget\Model\Layout\Update setUpdatedAt() setUpdatedAt(string $updateDateTime)
|
|
*/
|
|
class Update extends \Magento\Framework\Model\AbstractModel
|
|
{
|
|
/**
|
|
* @param \Magento\Framework\Model\Context $context
|
|
* @param \Magento\Framework\Registry $registry
|
|
* @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource
|
|
* @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection
|
|
* @param array $data
|
|
*/
|
|
public function __construct(
|
|
\Magento\Framework\Model\Context $context,
|
|
\Magento\Framework\Registry $registry,
|
|
\Magento\Framework\Model\ResourceModel\AbstractResource $resource = null,
|
|
\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null,
|
|
array $data = []
|
|
) {
|
|
parent::__construct($context, $registry, $resource, $resourceCollection, $data);
|
|
}
|
|
|
|
/**
|
|
* Layout Update model initialization
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function _construct()
|
|
{
|
|
$this->_init(\Magento\Widget\Model\ResourceModel\Layout\Update::class);
|
|
}
|
|
}
|