@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param string $submodel the submodel that will be added to the ClassName |
|
74 | 73 | * @return string Main Model class name |
75 | 74 | */ |
76 | 75 | public static function modelClassName() |
@@ -201,11 +200,17 @@ discard block |
||
201 | 200 | return $this->render('index'); |
202 | 201 | } |
203 | 202 | |
203 | + /** |
|
204 | + * @param string $id |
|
205 | + */ |
|
204 | 206 | public function setInternalAction($id, $action) |
205 | 207 | { |
206 | 208 | $this->_internalActions[$id] = $action; |
207 | 209 | } |
208 | 210 | |
211 | + /** |
|
212 | + * @param string $id |
|
213 | + */ |
|
209 | 214 | public function hasInternalAction($id) |
210 | 215 | { |
211 | 216 | return array_key_exists($id, $this->_internalActions); |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use hiqdev\hiart\ActiveRecord; |
17 | 17 | use Yii; |
18 | 18 | use yii\di\Instance; |
19 | -use yii\filters\AccessControl; |
|
20 | 19 | use yii\helpers\Inflector; |
21 | 20 | use yii\web\NotFoundHttpException; |
22 | 21 |