1 | <?php |
||
2 | |||
3 | namespace Apps\Controller\Api; |
||
4 | |||
5 | use Extend\Core\Arch\ApiController; |
||
6 | |||
7 | /** |
||
8 | * Class Comments. View and add comments and answers via json based ajax query's |
||
9 | * @package Apps\Controller\Api |
||
10 | */ |
||
11 | class Comments extends ApiController |
||
12 | { |
||
13 | |||
14 | // import action traits |
||
15 | use Comments\ActionAdd { |
||
16 | add as actionAdd; |
||
17 | } |
||
18 | |||
19 | use Comments\ActionList { |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
20 | aList as actionList; |
||
21 | } |
||
22 | |||
23 | use Comments\ActionShowAnswer { |
||
24 | showAnswers as actionShowanswers; |
||
25 | } |
||
26 | |||
27 | use Comments\ActionCount { |
||
0 ignored issues
–
show
|
|||
28 | cnt as actionCount; |
||
29 | } |
||
30 | } |
||
31 |