Skip to content

Commit 9095f72

Browse files
authored
Merge pull request #57 from mageprince/develop-2.1.4
Improvements
2 parents 00c123f + 97c5751 commit 9095f72

File tree

99 files changed

+2033
-1322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2033
-1322
lines changed

Api/Data/FaqGroupInterface.php

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,120 @@
11
<?php
2-
32
/**
43
* MagePrince
5-
* Copyright (C) 2020 Mageprince <info@mageprince.com>
64
*
7-
* @package Mageprince_Faq
8-
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/)
9-
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0)
10-
* @author MagePrince <info@mageprince.com>
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the mageprince.com license that is
8+
* available through the world-wide-web at this URL:
9+
* https://mageprince.com/end-user-license-agreement
10+
*
11+
* DISCLAIMER
12+
*
13+
* Do not edit or add to this file if you wish to upgrade this extension to newer
14+
* version in the future.
15+
*
16+
* @category MagePrince
17+
* @package Mageprince_Faq
18+
* @copyright Copyright (c) MagePrince (https://mageprince.com/)
19+
* @license https://mageprince.com/end-user-license-agreement
1120
*/
1221

1322
namespace Mageprince\Faq\Api\Data;
1423

1524
interface FaqGroupInterface
1625
{
17-
const GROUPNAME = 'groupname';
18-
const FAQIDS = 'faqids';
19-
const FAQGROUP_ID = 'faqgroup_id';
20-
const ICON = 'icon';
21-
const SORTORDER = 'sortorder';
22-
const STATUS = 'status';
26+
public const GROUPNAME = 'groupname';
27+
public const FAQIDS = 'faqids';
28+
public const FAQGROUP_ID = 'faqgroup_id';
29+
public const ICON = 'icon';
30+
public const SORTORDER = 'sortorder';
31+
public const STATUS = 'status';
2332

2433
/**
2534
* Get faqgroup_id
35+
*
2636
* @return int
2737
*/
2838
public function getFaqGroupId();
2939

3040
/**
3141
* Set faqgroup_id
42+
*
3243
* @param int $faqGroupId
3344
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface
3445
*/
3546
public function setFaqGroupId($faqGroupId);
3647

3748
/**
3849
* Get groupname
50+
*
3951
* @return int|null
4052
*/
4153
public function getGroupName();
4254

4355
/**
4456
* Set groupname
57+
*
4558
* @param string $groupName
4659
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface
4760
*/
4861
public function setGroupName($groupName);
4962

5063
/**
5164
* Get icon
65+
*
5266
* @return string|null
5367
*/
5468
public function getIcon();
5569

5670
/**
5771
* Set icon
72+
*
5873
* @param string $icon
5974
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface
6075
*/
6176
public function setIcon($icon);
6277

6378
/**
6479
* Get faq ids
80+
*
6581
* @return string|null
6682
*/
6783
public function getFaqIds();
6884

6985
/**
7086
* Set faq ids
87+
*
7188
* @param string $faqIds
7289
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface
7390
*/
7491
public function setFaqIds($faqIds);
7592

7693
/**
7794
* Get sort order
95+
*
7896
* @return string|null
7997
*/
8098
public function getSortOrder();
8199

82100
/**
83101
* Set sort order
102+
*
84103
* @param int $sortOrder
85104
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface
86105
*/
87106
public function setSortOrder($sortOrder);
88107

89108
/**
90109
* Get status
110+
*
91111
* @return string|null
92112
*/
93113
public function getStatus();
94114

95115
/**
96116
* Set status
117+
*
97118
* @param string $status
98119
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface
99120
*/

Api/Data/FaqGroupSearchResultsInterface.php

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
<?php
2-
32
/**
43
* MagePrince
5-
* Copyright (C) 2020 Mageprince <info@mageprince.com>
64
*
7-
* @package Mageprince_Faq
8-
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/)
9-
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0)
10-
* @author MagePrince <info@mageprince.com>
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the mageprince.com license that is
8+
* available through the world-wide-web at this URL:
9+
* https://mageprince.com/end-user-license-agreement
10+
*
11+
* DISCLAIMER
12+
*
13+
* Do not edit or add to this file if you wish to upgrade this extension to newer
14+
* version in the future.
15+
*
16+
* @category MagePrince
17+
* @package Mageprince_Faq
18+
* @copyright Copyright (c) MagePrince (https://mageprince.com/)
19+
* @license https://mageprince.com/end-user-license-agreement
1120
*/
1221

1322
namespace Mageprince\Faq\Api\Data;
@@ -18,12 +27,14 @@ interface FaqGroupSearchResultsInterface extends SearchResultsInterface
1827
{
1928
/**
2029
* Get FaqGroup list.
30+
*
2131
* @return \Mageprince\Faq\Api\Data\FaqGroupInterface[]
2232
*/
2333
public function getItems();
2434

2535
/**
2636
* Set FaqGroup list.
37+
*
2738
* @param \Mageprince\Faq\Api\Data\FaqGroupInterface[] $items
2839
* @return $this
2940
*/

Api/Data/FaqInterface.php

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,104 @@
11
<?php
2-
32
/**
43
* MagePrince
5-
* Copyright (C) 2020 Mageprince <info@mageprince.com>
64
*
7-
* @package Mageprince_Faq
8-
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/)
9-
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0)
10-
* @author MagePrince <info@mageprince.com>
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the mageprince.com license that is
8+
* available through the world-wide-web at this URL:
9+
* https://mageprince.com/end-user-license-agreement
10+
*
11+
* DISCLAIMER
12+
*
13+
* Do not edit or add to this file if you wish to upgrade this extension to newer
14+
* version in the future.
15+
*
16+
* @category MagePrince
17+
* @package Mageprince_Faq
18+
* @copyright Copyright (c) MagePrince (https://mageprince.com/)
19+
* @license https://mageprince.com/end-user-license-agreement
1120
*/
1221

1322
namespace Mageprince\Faq\Api\Data;
1423

1524
interface FaqInterface
1625
{
17-
const TITLE = 'title';
18-
const SORTORDER = 'sortorder';
19-
const FAQ_ID = 'faq_id';
20-
const CONTENT = 'content';
21-
const STATUS = 'status';
26+
public const TITLE = 'title';
27+
public const SORTORDER = 'sortorder';
28+
public const FAQ_ID = 'faq_id';
29+
public const CONTENT = 'content';
30+
public const STATUS = 'status';
2231

2332
/**
2433
* Get faq_id
34+
*
2535
* @return int
2636
*/
2737
public function getFaqId();
2838

2939
/**
3040
* Set faq_id
41+
*
3142
* @param int $faqId
3243
* @return \Mageprince\Faq\Api\Data\FaqInterface
3344
*/
3445
public function setFaqId($faqId);
3546

3647
/**
3748
* Get title
49+
*
3850
* @return string|null
3951
*/
4052
public function getTitle();
4153

4254
/**
4355
* Set title
56+
*
4457
* @param string $title
4558
* @return \Mageprince\Faq\Api\Data\FaqInterface
4659
*/
4760
public function setTitle($title);
4861

4962
/**
5063
* Get content
64+
*
5165
* @return string|null
5266
*/
5367
public function getContent();
5468

5569
/**
5670
* Set content
71+
*
5772
* @param string $content
5873
* @return \Mageprince\Faq\Api\Data\FaqInterface
5974
*/
6075
public function setContent($content);
6176

6277
/**
6378
* Get sortorder
79+
*
6480
* @return string|null
6581
*/
6682
public function getSortOrder();
6783

6884
/**
6985
* Set sortorder
86+
*
7087
* @param string $sortOrder
7188
* @return \Mageprince\Faq\Api\Data\FaqInterface
7289
*/
7390
public function setSortOrder($sortOrder);
7491

7592
/**
7693
* Get status
94+
*
7795
* @return string|null
7896
*/
7997
public function getStatus();
8098

8199
/**
82100
* Set status
101+
*
83102
* @param string $status
84103
* @return \Mageprince\Faq\Api\Data\FaqInterface
85104
*/

Api/Data/FaqSearchResultsInterface.php

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
<?php
2-
32
/**
43
* MagePrince
5-
* Copyright (C) 2020 Mageprince <info@mageprince.com>
64
*
7-
* @package Mageprince_Faq
8-
* @copyright Copyright (c) 2020 Mageprince (http://www.mageprince.com/)
9-
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0)
10-
* @author MagePrince <info@mageprince.com>
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the mageprince.com license that is
8+
* available through the world-wide-web at this URL:
9+
* https://mageprince.com/end-user-license-agreement
10+
*
11+
* DISCLAIMER
12+
*
13+
* Do not edit or add to this file if you wish to upgrade this extension to newer
14+
* version in the future.
15+
*
16+
* @category MagePrince
17+
* @package Mageprince_Faq
18+
* @copyright Copyright (c) MagePrince (https://mageprince.com/)
19+
* @license https://mageprince.com/end-user-license-agreement
1120
*/
1221

1322
namespace Mageprince\Faq\Api\Data;
@@ -18,12 +27,14 @@ interface FaqSearchResultsInterface extends SearchResultsInterface
1827
{
1928
/**
2029
* Get Faq list.
30+
*
2131
* @return \Mageprince\Faq\Api\Data\FaqInterface[]
2232
*/
2333
public function getItems();
2434

2535
/**
2636
* Set title list.
37+
*
2738
* @param \Mageprince\Faq\Api\Data\FaqInterface[] $items
2839
* @return $this
2940
*/

0 commit comments

Comments
 (0)