@@ -265,6 +265,9 @@ discard block |
||
265 | 265 | } |
266 | 266 | } |
267 | 267 | |
268 | + /** |
|
269 | + * @param string $modelClass |
|
270 | + */ |
|
268 | 271 | private function createModel($modelClass, $table, $force, $dataSourceKey) |
269 | 272 | { |
270 | 273 | Model::getCodeGenerator($modelClass)->generate($table, $force); |
@@ -289,6 +292,9 @@ discard block |
||
289 | 292 | ); |
290 | 293 | } |
291 | 294 | |
295 | + /** |
|
296 | + * @param string $modelFilePath |
|
297 | + */ |
|
292 | 298 | private function deleteModel($modelFilePath, $tableName, $schemeTables, $dataSourceKey) |
293 | 299 | { |
294 | 300 | if (file_exists($modelFilePath)) { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Ice\Core\Action; |
6 | 6 | use Ice\Core\Data_Scheme; |
7 | -use Ice\Core\Debuger; |
|
8 | 7 | use Ice\Core\Logger; |
9 | 8 | use Ice\Core\Model; |
10 | 9 | use Ice\Core\Module; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Ice\Action; |
4 | 4 | |
5 | 5 | use Ice\Core\Action; |
6 | -use Ice\Core\Debuger; |
|
7 | 6 | use Ice\Core\Widget; |
8 | 7 | use Ice\DataProvider\Request; |
9 | 8 | use Ice\DataProvider\Router; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Ice\Action; |
10 | 10 | |
11 | 11 | use Ice\Core\Action; |
12 | -use Ice\Core\Debuger; |
|
13 | 12 | use Ice\Core\Widget; |
14 | 13 | use Ice\DataProvider\Request; |
15 | 14 | use Ice\DataProvider\Router; |
@@ -20,9 +20,9 @@ discard block |
||
20 | 20 | abstract class Security extends Widget_Form_Event |
21 | 21 | { |
22 | 22 | /** |
23 | - * @param Security_Account|Model $account |
|
23 | + * @param Security_Account $account |
|
24 | 24 | * @param array $input |
25 | - * @return Security_Account|Model |
|
25 | + * @return Security_Account |
|
26 | 26 | * @throws Exception |
27 | 27 | */ |
28 | 28 | final protected function signIn(Security_Account $account, array $input) |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
234 | - * @param Security_Account|Model $account |
|
234 | + * @param Model $account |
|
235 | 235 | * @param $input |
236 | 236 | * @return null |
237 | 237 | * @throws Exception |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Ice\Action; |
4 | 4 | |
5 | 5 | use Ebs\Model\Log_Security; |
6 | -use Ice\Core; |
|
7 | 6 | use Ice\Core\Config; |
8 | 7 | use Ice\Core\DataSource; |
9 | 8 | use Ice\Core\Exception; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Ice\Action; |
4 | 4 | |
5 | -use Ice\Core\Debuger; |
|
6 | 5 | use Ice\Core\Logger; |
7 | 6 | use Ice\Core\Widget_Security; |
8 | 7 | use Ice\Helper\Date; |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Ice\Core\Widget_Security; |
9 | 9 | use Ice\Helper\Date; |
10 | 10 | use Ice\Model\Token; |
11 | -use Ice\Core\Security as Core_Security; |
|
12 | 11 | |
13 | 12 | class Security_EmailPassword_RestorePasswordConfirm_Submit extends Security |
14 | 13 | { |
@@ -1,10 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Ice\Action; |
3 | 3 | |
4 | -use Ice\Core\Debuger; |
|
5 | -use Ice\Widget\Security_EmailPassword_Login; |
|
6 | 4 | use Ice\Widget\Security_LoginEmailPassword_Login; |
7 | -use Ice\Widget\Security_LoginPassword_Login; |
|
8 | 5 | |
9 | 6 | class Security_LoginEmailPassword_Login_Submit extends Security |
10 | 7 | { |
@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Ice\Action; |
4 | 4 | |
5 | -use Ice\Core\Model; |
|
6 | -use Ice\Widget\Security_EmailPassword_RestorePassword; |
|
7 | 5 | use Ice\Widget\Security_LoginEmailPassword_RestorePassword; |
8 | -use Ice\Widget\Security_LoginPassword_RestorePassword; |
|
9 | 6 | |
10 | 7 | class Security_LoginEmailPassword_RestorePassword_Submit extends Security |
11 | 8 | { |
@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Ice\Action; |
4 | 4 | |
5 | -use Ice\Widget\Security_EmailPassword_RestorePasswordConfirm; |
|
6 | 5 | use Ice\Widget\Security_LoginEmailPassword_RestorePasswordConfirm; |
7 | -use Ice\Widget\Security_LoginPassword_RestorePasswordConfirm; |
|
8 | 6 | |
9 | 7 | class Security_LoginEmailPassword_RestorePasswordConfirm_Submit extends Security |
10 | 8 | { |