1 | <?php |
||
16 | class FeedbackController extends CommonAdminController |
||
17 | { |
||
18 | use AdminBeforeActionTrait, AccessTrait; |
||
19 | |||
20 | /** |
||
21 | * Set read status to "1" after view record. |
||
22 | * |
||
23 | * @param \yii\base\Action $action |
||
24 | * @param mixed $result |
||
25 | * |
||
26 | * @return mixed |
||
27 | */ |
||
28 | public function afterAction($action, $result) |
||
37 | |||
38 | /** |
||
39 | * @return mixed|string |
||
40 | */ |
||
41 | public function actionIndex() |
||
49 | |||
50 | /** |
||
51 | * @param int|string $id |
||
52 | * |
||
53 | * @return mixed |
||
54 | */ |
||
55 | public function actionView($id) |
||
63 | |||
64 | /** |
||
65 | * @param int|string $id |
||
66 | * |
||
67 | * @return mixed|\yii\web\Response |
||
68 | */ |
||
69 | public function actionDelete($id) |
||
77 | |||
78 | /** |
||
79 | * @return mixed|\yii\web\Response |
||
80 | */ |
||
81 | public function actionDeleteSelected() |
||
99 | |||
100 | /** |
||
101 | * Returns Product model name. |
||
102 | * |
||
103 | * @return string |
||
104 | */ |
||
105 | protected function getModelName():string |
||
109 | |||
110 | /** |
||
111 | * Returns ProductSearch model name. |
||
112 | * |
||
113 | * @return string |
||
114 | */ |
||
115 | protected function getSearchModelName():string |
||
119 | } |
||
120 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.