| 1 | <?php |
||
| 14 | class Feedback extends Controller |
||
| 15 | { |
||
| 16 | const VERSION = '1.0.0'; |
||
| 17 | const ITEM_PER_PAGE = 10; |
||
| 18 | |||
| 19 | public $type = 'app'; |
||
| 20 | |||
| 21 | // import heavy actions |
||
| 22 | use Feedback\ActionIndex { |
||
| 23 | index as actionIndex; |
||
| 24 | } |
||
| 25 | |||
| 26 | use Feedback\ActionRead { |
||
| 27 | read as actionRead; |
||
| 28 | } |
||
| 29 | |||
| 30 | use Feedback\ActionUpdate { |
||
| 31 | update as actionUpdate; |
||
| 32 | } |
||
| 33 | |||
| 34 | use Feedback\ActionTurn { |
||
| 35 | turn as actionTurn; |
||
| 36 | } |
||
| 37 | |||
| 38 | use Feedback\ActionDelete { |
||
| 39 | delete as actionDelete; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Settings of feedback application |
||
| 44 | * @return string |
||
| 45 | * @throws \Ffcms\Core\Exception\SyntaxException |
||
| 46 | */ |
||
| 47 | public function actionSettings(): ?string |
||
| 70 | } |
||
| 71 |