Skip to content

Commit

Permalink
Merge pull request #57 from mageprince/develop-2.1.4
Browse files Browse the repository at this point in the history
Improvements
  • Loading branch information
mageprince committed Apr 18, 2024
2 parents 00c123f + 97c5751 commit 9095f72
Show file tree
Hide file tree
Showing 99 changed files with 2,033 additions and 1,322 deletions.
45 changes: 33 additions & 12 deletions Api/Data/FaqGroupInterface.php
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
*/
Expand Down
23 changes: 17 additions & 6 deletions Api/Data/FaqGroupSearchResultsInterface.php
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;
Expand All @@ -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
*/
Expand Down
41 changes: 30 additions & 11 deletions Api/Data/FaqInterface.php
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
*/
Expand Down
23 changes: 17 additions & 6 deletions Api/Data/FaqSearchResultsInterface.php
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;
Expand All @@ -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
*/
Expand Down
Loading

0 comments on commit 9095f72

Please sign in to comment.