@@ -50,6 +50,9 @@ |
||
50 | 50 | return $this->render($this->getOrientationStorage()); |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @return string |
|
55 | + */ |
|
53 | 56 | public function getOrientationStorage() |
54 | 57 | { |
55 | 58 | return OrientationStorage::instantiate()->get(Yii::$app->controller->getRoute()); |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use hipanel\grid\ReminderGridView; |
4 | -use hipanel\modules\stock\grid\PartGridView; |
|
5 | 4 | use hipanel\widgets\IndexLayoutSwitcher; |
6 | 5 | use hipanel\widgets\IndexPage; |
7 | 6 | use hipanel\widgets\Pjax; |
@@ -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); |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use hipanel\actions\ValidateFormAction; |
15 | 15 | use hipanel\actions\ViewAction; |
16 | 16 | use hipanel\models\Reminder; |
17 | -use hipanel\widgets\ReminderTop; |
|
18 | 17 | use Yii; |
19 | 18 | use yii\web\NotFoundHttpException; |
20 | 19 | use yii\web\Response; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
105 | - * @return bool |
|
105 | + * @return boolean|null |
|
106 | 106 | */ |
107 | 107 | public function fixNextTimeTZ() |
108 | 108 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace hipanel\models; |
4 | 4 | |
5 | 5 | use DateTime; |
6 | -use DateTimeZone; |
|
7 | 6 | use hipanel\base\Model; |
8 | 7 | use hipanel\base\ModelTrait; |
9 | 8 | use Yii; |