-
Notifications
You must be signed in to change notification settings - Fork 37
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 #57 from mageprince/develop-2.1.4
Improvements
- Loading branch information
Showing
99 changed files
with
2,033 additions
and
1,322 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,120 @@ | ||
<?php | ||
|
||
/** | ||
* MagePrince | ||
* Copyright (C) 2020 Mageprince <[email protected]> | ||
* | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/) | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author MagePrince <[email protected]> | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the mageprince.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://mageprince.com/end-user-license-agreement | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category MagePrince | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) MagePrince (https://mageprince.com/) | ||
* @license https://mageprince.com/end-user-license-agreement | ||
*/ | ||
|
||
namespace Mageprince\Faq\Api\Data; | ||
|
||
interface FaqGroupInterface | ||
{ | ||
const GROUPNAME = 'groupname'; | ||
const FAQIDS = 'faqids'; | ||
const FAQGROUP_ID = 'faqgroup_id'; | ||
const ICON = 'icon'; | ||
const SORTORDER = 'sortorder'; | ||
const STATUS = 'status'; | ||
public const GROUPNAME = 'groupname'; | ||
public const FAQIDS = 'faqids'; | ||
public const FAQGROUP_ID = 'faqgroup_id'; | ||
public const ICON = 'icon'; | ||
public const SORTORDER = 'sortorder'; | ||
public const STATUS = 'status'; | ||
|
||
/** | ||
* Get faqgroup_id | ||
* | ||
* @return int | ||
*/ | ||
public function getFaqGroupId(); | ||
|
||
/** | ||
* Set faqgroup_id | ||
* | ||
* @param int $faqGroupId | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface | ||
*/ | ||
public function setFaqGroupId($faqGroupId); | ||
|
||
/** | ||
* Get groupname | ||
* | ||
* @return int|null | ||
*/ | ||
public function getGroupName(); | ||
|
||
/** | ||
* Set groupname | ||
* | ||
* @param string $groupName | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface | ||
*/ | ||
public function setGroupName($groupName); | ||
|
||
/** | ||
* Get icon | ||
* | ||
* @return string|null | ||
*/ | ||
public function getIcon(); | ||
|
||
/** | ||
* Set icon | ||
* | ||
* @param string $icon | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface | ||
*/ | ||
public function setIcon($icon); | ||
|
||
/** | ||
* Get faq ids | ||
* | ||
* @return string|null | ||
*/ | ||
public function getFaqIds(); | ||
|
||
/** | ||
* Set faq ids | ||
* | ||
* @param string $faqIds | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface | ||
*/ | ||
public function setFaqIds($faqIds); | ||
|
||
/** | ||
* Get sort order | ||
* | ||
* @return string|null | ||
*/ | ||
public function getSortOrder(); | ||
|
||
/** | ||
* Set sort order | ||
* | ||
* @param int $sortOrder | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface | ||
*/ | ||
public function setSortOrder($sortOrder); | ||
|
||
/** | ||
* Get status | ||
* | ||
* @return string|null | ||
*/ | ||
public function getStatus(); | ||
|
||
/** | ||
* Set status | ||
* | ||
* @param string $status | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface | ||
*/ | ||
|
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
<?php | ||
|
||
/** | ||
* MagePrince | ||
* Copyright (C) 2020 Mageprince <[email protected]> | ||
* | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/) | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author MagePrince <[email protected]> | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the mageprince.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://mageprince.com/end-user-license-agreement | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category MagePrince | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) MagePrince (https://mageprince.com/) | ||
* @license https://mageprince.com/end-user-license-agreement | ||
*/ | ||
|
||
namespace Mageprince\Faq\Api\Data; | ||
|
@@ -18,12 +27,14 @@ interface FaqGroupSearchResultsInterface extends SearchResultsInterface | |
{ | ||
/** | ||
* Get FaqGroup list. | ||
* | ||
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* Set FaqGroup list. | ||
* | ||
* @param \Mageprince\Faq\Api\Data\FaqGroupInterface[] $items | ||
* @return $this | ||
*/ | ||
|
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 |
---|---|---|
@@ -1,85 +1,104 @@ | ||
<?php | ||
|
||
/** | ||
* MagePrince | ||
* Copyright (C) 2020 Mageprince <[email protected]> | ||
* | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/) | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author MagePrince <[email protected]> | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the mageprince.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://mageprince.com/end-user-license-agreement | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category MagePrince | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) MagePrince (https://mageprince.com/) | ||
* @license https://mageprince.com/end-user-license-agreement | ||
*/ | ||
|
||
namespace Mageprince\Faq\Api\Data; | ||
|
||
interface FaqInterface | ||
{ | ||
const TITLE = 'title'; | ||
const SORTORDER = 'sortorder'; | ||
const FAQ_ID = 'faq_id'; | ||
const CONTENT = 'content'; | ||
const STATUS = 'status'; | ||
public const TITLE = 'title'; | ||
public const SORTORDER = 'sortorder'; | ||
public const FAQ_ID = 'faq_id'; | ||
public const CONTENT = 'content'; | ||
public const STATUS = 'status'; | ||
|
||
/** | ||
* Get faq_id | ||
* | ||
* @return int | ||
*/ | ||
public function getFaqId(); | ||
|
||
/** | ||
* Set faq_id | ||
* | ||
* @param int $faqId | ||
* @return \Mageprince\Faq\Api\Data\FaqInterface | ||
*/ | ||
public function setFaqId($faqId); | ||
|
||
/** | ||
* Get title | ||
* | ||
* @return string|null | ||
*/ | ||
public function getTitle(); | ||
|
||
/** | ||
* Set title | ||
* | ||
* @param string $title | ||
* @return \Mageprince\Faq\Api\Data\FaqInterface | ||
*/ | ||
public function setTitle($title); | ||
|
||
/** | ||
* Get content | ||
* | ||
* @return string|null | ||
*/ | ||
public function getContent(); | ||
|
||
/** | ||
* Set content | ||
* | ||
* @param string $content | ||
* @return \Mageprince\Faq\Api\Data\FaqInterface | ||
*/ | ||
public function setContent($content); | ||
|
||
/** | ||
* Get sortorder | ||
* | ||
* @return string|null | ||
*/ | ||
public function getSortOrder(); | ||
|
||
/** | ||
* Set sortorder | ||
* | ||
* @param string $sortOrder | ||
* @return \Mageprince\Faq\Api\Data\FaqInterface | ||
*/ | ||
public function setSortOrder($sortOrder); | ||
|
||
/** | ||
* Get status | ||
* | ||
* @return string|null | ||
*/ | ||
public function getStatus(); | ||
|
||
/** | ||
* Set status | ||
* | ||
* @param string $status | ||
* @return \Mageprince\Faq\Api\Data\FaqInterface | ||
*/ | ||
|
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
<?php | ||
|
||
/** | ||
* MagePrince | ||
* Copyright (C) 2020 Mageprince <[email protected]> | ||
* | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/) | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author MagePrince <[email protected]> | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the mageprince.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://mageprince.com/end-user-license-agreement | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category MagePrince | ||
* @package Mageprince_Faq | ||
* @copyright Copyright (c) MagePrince (https://mageprince.com/) | ||
* @license https://mageprince.com/end-user-license-agreement | ||
*/ | ||
|
||
namespace Mageprince\Faq\Api\Data; | ||
|
@@ -18,12 +27,14 @@ interface FaqSearchResultsInterface extends SearchResultsInterface | |
{ | ||
/** | ||
* Get Faq list. | ||
* | ||
* @return \Mageprince\Faq\Api\Data\FaqInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* Set title list. | ||
* | ||
* @param \Mageprince\Faq\Api\Data\FaqInterface[] $items | ||
* @return $this | ||
*/ | ||
|
Oops, something went wrong.