init
This commit is contained in:
Executable
+87
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
/**
|
||||
* Mageplaza
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the mageplaza.com license that is
|
||||
* available through the world-wide-web at this URL:
|
||||
* https://www.mageplaza.com/LICENSE.txt
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
||||
* version in the future.
|
||||
*
|
||||
* @category Mageplaza
|
||||
* @package Mageplaza_Blog
|
||||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
||||
* @license https://www.mageplaza.com/LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Mageplaza\Blog\Model;
|
||||
|
||||
use Magento\Framework\DataObject;
|
||||
use Mageplaza\Blog\Api\Data\BlogConfigInterface;
|
||||
|
||||
/**
|
||||
* Class BlogConfig
|
||||
* @package Mageplaza\Blog\Model
|
||||
*/
|
||||
class BlogConfig extends DataObject implements BlogConfigInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getGeneral()
|
||||
{
|
||||
return $this->getData(self::GENERAL);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setGeneral($value)
|
||||
{
|
||||
$this->setData(self::GENERAL, $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getSidebar()
|
||||
{
|
||||
return $this->getData(self::SIDEBAR);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setSidebar($value)
|
||||
{
|
||||
$this->setData(self::SIDEBAR, $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getSeo()
|
||||
{
|
||||
return $this->getData(self::SEO);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setSeo($value)
|
||||
{
|
||||
$this->setData(self::SEO, $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user