init
This commit is contained in:
+86
@@ -0,0 +1,86 @@
|
||||
<?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\MonthlyArchiveInterface;
|
||||
|
||||
/**
|
||||
* Class MonthlyArchive
|
||||
* @package Mageplaza\Blog\Model
|
||||
*/
|
||||
class MonthlyArchive extends DataObject implements MonthlyArchiveInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getLabel()
|
||||
{
|
||||
return $this->getData(self::LABEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setLabel($value)
|
||||
{
|
||||
$this->setData(self::LABEL, $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getPostCount()
|
||||
{
|
||||
return $this->getData(self::POST_COUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setPostCount($value)
|
||||
{
|
||||
$this->setData(self::POST_COUNT, $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getLink()
|
||||
{
|
||||
return $this->getData(self::LINK);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setLink($value)
|
||||
{
|
||||
$this->setData(self::LINK, $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user