-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from mageplaza/2.3-develop
2.3 develop
- Loading branch information
Showing
33 changed files
with
1,668 additions
and
569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?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\Api\Data; | ||
|
||
/** | ||
* Interface BlogConfigInterface | ||
* @package Mageplaza\Blog\Api\Data | ||
*/ | ||
interface BlogConfigInterface | ||
{ | ||
const GENERAL = 'general'; | ||
const SIDEBAR = 'sidebar'; | ||
const SEO = 'seo'; | ||
|
||
/** | ||
* @return \Mageplaza\Blog\Api\Data\Config\GeneralInterface | ||
*/ | ||
public function getGeneral(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\Config\GeneralInterface $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setGeneral($value); | ||
|
||
/** | ||
* @return \Mageplaza\Blog\Api\Data\Config\SidebarInterface | ||
*/ | ||
public function getSidebar(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\Config\SidebarInterface $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setSidebar($value); | ||
|
||
/** | ||
* @return \Mageplaza\Blog\Api\Data\Config\SeoInterface | ||
*/ | ||
public function getSeo(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\Config\SeoInterface $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setSeo($value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?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\Api\Data\Config; | ||
|
||
/** | ||
* Interface GeneralInterface | ||
* @package Mageplaza\Blog\Api\Data\Config | ||
*/ | ||
interface GeneralInterface | ||
{ | ||
const BLOG_NAME = 'blog_name'; | ||
const IS_LINK_IN_MENU = 'is_link_in_menu'; | ||
const IS_DISPLAY_AUTHOR = 'is_display_author'; | ||
const BLOG_MODE = 'blog_mode'; | ||
const BLOG_COLOR = 'blog_color'; | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getBlogName(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setBlogName($value); | ||
|
||
/** | ||
* @return boolean/null | ||
*/ | ||
public function getIsLinkInMenu(); | ||
|
||
/** | ||
* @param boolean $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setIsLinkInMenu($value); | ||
|
||
/** | ||
* @return boolean/null | ||
*/ | ||
public function getIsDisplayAuthor(); | ||
|
||
/** | ||
* @param boolean $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setIsDisplayAuthor($value); | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getBlogMode(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setBlogMode($value); | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getBlogColor(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setBlogColor($value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?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\Api\Data\Config; | ||
|
||
/** | ||
* Interface SeoInterface | ||
* @package Mageplaza\Blog\Api\Data\Config | ||
*/ | ||
interface SeoInterface | ||
{ | ||
const META_TITLE = 'meta_title'; | ||
const META_DESCRIPTION = 'meta_description'; | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getMetaTitle(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setMetaTitle($value); | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getMetaDescription(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setMetaDescription($value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?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\Api\Data\Config; | ||
|
||
/** | ||
* Interface SidebarInterface | ||
* @package Mageplaza\Blog\Api\Data\Config | ||
*/ | ||
interface SidebarInterface | ||
{ | ||
const NUMBER_RECENT = 'number_recent'; | ||
const NUMBER_MOST_VIEW = 'number_most_view'; | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getNumberRecent(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setNumberRecent($value); | ||
|
||
/** | ||
* @return string/null | ||
*/ | ||
public function getNumberMostView(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setNumberMostView($value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?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\Api\Data; | ||
|
||
/** | ||
* Interface MonthlyArchiveInterface | ||
* @package Mageplaza\Blog\Api\Data | ||
*/ | ||
interface MonthlyArchiveInterface | ||
{ | ||
const LABEL = 'label'; | ||
const POST_COUNT = 'post_count'; | ||
const LINK = 'link'; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getLabel(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setLabel($value); | ||
|
||
/** | ||
* @return int | ||
*/ | ||
public function getPostCount(); | ||
|
||
/** | ||
* @param int $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setPostCount($value); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getLink(); | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function setLink($value); | ||
} |
Oops, something went wrong.