@@ -9,16 +9,15 @@ |
||
9 | 9 | */ |
10 | 10 | namespace PH7; |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Session\Session, |
|
14 | -PH7\Framework\Navigation\Browser, |
|
15 | -PH7\Framework\Mvc\Model\DbConfig, |
|
16 | -PH7\Framework\Ip\Ip, |
|
17 | -PH7\Framework\File\File, |
|
18 | -PH7\Framework\Util\Various, |
|
19 | -PH7\Framework\Mvc\Router\Uri, |
|
20 | -PH7\Framework\Url\Header, |
|
21 | -PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
12 | +use PH7\Framework\Session\Session; |
|
13 | +use PH7\Framework\Navigation\Browser; |
|
14 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
15 | +use PH7\Framework\Ip\Ip; |
|
16 | +use PH7\Framework\File\File; |
|
17 | +use PH7\Framework\Util\Various; |
|
18 | +use PH7\Framework\Mvc\Router\Uri; |
|
19 | +use PH7\Framework\Url\Header; |
|
20 | +use PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
22 | 21 | |
23 | 22 | // Abstract Class |
24 | 23 | class UserCore |
@@ -11,7 +11,8 @@ |
||
11 | 11 | |
12 | 12 | defined('PH7') or exit('Restricted access'); |
13 | 13 | |
14 | -use PH7\Framework\Str\Str, PH7\Framework\Registry\Registry; |
|
14 | +use PH7\Framework\Str\Str; |
|
15 | +use PH7\Framework\Registry\Registry; |
|
15 | 16 | |
16 | 17 | class ConfigFileCoreForm |
17 | 18 | { |
@@ -8,8 +8,6 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use PH7\Framework\Mvc\Router\Uri, PH7\Framework\Url\Header; |
|
12 | - |
|
13 | 11 | /** For "user", "affiliate" and "admin" modules **/ |
14 | 12 | class ChangePasswordCoreFormProcess extends Form |
15 | 13 | { |
@@ -8,11 +8,10 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use |
|
12 | -PH7\Framework\Mvc\Model\DbConfig, |
|
13 | -PH7\Framework\Mail\Mail, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
11 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
12 | +use PH7\Framework\Mail\Mail; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | /** For "user" and "affiliate" modules **/ |
18 | 17 | class DeleteUserCoreFormProcess extends Form |
@@ -10,13 +10,12 @@ |
||
10 | 10 | */ |
11 | 11 | namespace PH7; |
12 | 12 | |
13 | -use |
|
14 | -PH7\Framework\Math\Measure\Year, |
|
15 | -PH7\Framework\Geo\Ip\Geo, |
|
16 | -PH7\Framework\Mvc\Request\Http, |
|
17 | -PH7\Framework\Mvc\Model\DbConfig, |
|
18 | -PH7\Framework\Session\Session, |
|
19 | -PH7\Framework\Mvc\Router\Uri; |
|
13 | +use PH7\Framework\Math\Measure\Year; |
|
14 | +use PH7\Framework\Geo\Ip\Geo; |
|
15 | +use PH7\Framework\Mvc\Request\Http; |
|
16 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
17 | +use PH7\Framework\Session\Session; |
|
18 | +use PH7\Framework\Mvc\Router\Uri; |
|
20 | 19 | |
21 | 20 | class SearchUserCoreForm |
22 | 21 | { |
@@ -7,10 +7,8 @@ |
||
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | 9 | |
10 | -use |
|
11 | -PH7\Framework\Mvc\Model\Engine\Db, |
|
12 | -PH7\Framework\Mvc\Model\Engine\Record, |
|
13 | -PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
10 | +use PH7\Framework\Mvc\Model\Engine\Db; |
|
11 | +use PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
14 | 12 | |
15 | 13 | // Abstract Class |
16 | 14 | class AdminCoreModel extends UserCoreModel |
@@ -10,10 +10,9 @@ |
||
10 | 10 | */ |
11 | 11 | namespace PH7; |
12 | 12 | |
13 | -use |
|
14 | -PH7\Framework\Mvc\Model\Engine\Db, |
|
15 | -PH7\Framework\Mvc\Model\Engine\Record, |
|
16 | -PH7\Framework\Cache\Cache; |
|
13 | +use PH7\Framework\Mvc\Model\Engine\Db; |
|
14 | +use PH7\Framework\Mvc\Model\Engine\Record; |
|
15 | +use PH7\Framework\Cache\Cache; |
|
17 | 16 | |
18 | 17 | class StatisticCoreModel extends Framework\Mvc\Model\Statistic |
19 | 18 | { |
@@ -8,7 +8,8 @@ |
||
8 | 8 | |
9 | 9 | namespace PH7; |
10 | 10 | |
11 | -use PH7\Framework\Mvc\Model\Engine\Db, PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
11 | +use PH7\Framework\Mvc\Model\Engine\Db; |
|
12 | +use PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
12 | 13 | |
13 | 14 | class TwoFactorAuthCoreModel extends Framework\Mvc\Model\Engine\Model |
14 | 15 | { |
@@ -9,14 +9,13 @@ |
||
9 | 9 | */ |
10 | 10 | namespace PH7; |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Mvc\Model\Engine\Db, |
|
14 | -PH7\Framework\Mvc\Model\DbConfig, |
|
15 | -PH7\Framework\Mvc\Model\Engine\Util\Various, |
|
16 | -PH7\Framework\Str\Str, |
|
17 | -PH7\Framework\Date\CDateTime, |
|
18 | -PH7\Framework\Session\Session, |
|
19 | -PH7\Framework\Security\Security; |
|
12 | +use PH7\Framework\Mvc\Model\Engine\Db; |
|
13 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
14 | +use PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
15 | +use PH7\Framework\Str\Str; |
|
16 | +use PH7\Framework\Date\CDateTime; |
|
17 | +use PH7\Framework\Session\Session; |
|
18 | +use PH7\Framework\Security\Security; |
|
20 | 19 | |
21 | 20 | // Abstract Class |
22 | 21 | class UserCoreModel extends Framework\Mvc\Model\Engine\Model |