@@ -12,11 +12,10 @@ |
||
12 | 12 | namespace PH7; |
13 | 13 | defined('PH7') or exit('Restricted access'); |
14 | 14 | |
15 | -use |
|
16 | -PH7\Framework\Config\Config, |
|
17 | -PH7\Framework\Cache\Cache, |
|
18 | -PH7\Framework\Compress\Compress, |
|
19 | -PH7\Framework\Service\Suggestion; |
|
15 | +use PH7\Framework\Config\Config; |
|
16 | +use PH7\Framework\Cache\Cache; |
|
17 | +use PH7\Framework\Compress\Compress; |
|
18 | +use PH7\Framework\Service\Suggestion; |
|
20 | 19 | |
21 | 20 | $oCache = (new Cache)->start('str/js', 'mailcheck', 120*48*30); |
22 | 21 |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * Convert table to Ads's ID. |
55 | 55 | * |
56 | 56 | * @param string $sTable |
57 | - * @return mixed (string or void if table is not valid) Returns the table if it is correct. |
|
57 | + * @return string (string or void if table is not valid) Returns the table if it is correct. |
|
58 | 58 | * @throws If the table is not valid, it throws an exception and displays an error message with the method \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() and exit(). |
59 | 59 | */ |
60 | 60 | public static function convertTableToId($sTable) |
@@ -6,7 +6,8 @@ |
||
6 | 6 | * @package PH7 / App / System / Core / Class |
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | -use PH7\Framework\Config\Config, PH7\Framework\Registry\Registry; |
|
9 | +use PH7\Framework\Config\Config; |
|
10 | +use PH7\Framework\Registry\Registry; |
|
10 | 11 | |
11 | 12 | // Abstract Class |
12 | 13 | class AffiliateCore extends UserCore |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * Check table. |
21 | 21 | * |
22 | 22 | * @param string $sTable |
23 | - * @return mixed (string or void) Returns the table if it is correct. |
|
23 | + * @return string|null (string or void) Returns the table if it is correct. |
|
24 | 24 | * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() |
25 | 25 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
26 | 26 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @param string $sMod |
26 | 26 | * @param boolean $bPrint Print or Return the HTML code. Default TRUE |
27 | - * @return void |
|
27 | + * @return null|string |
|
28 | 28 | */ |
29 | 29 | public static function link($sMod, $bPrint = true) |
30 | 30 | { |
@@ -14,11 +14,10 @@ |
||
14 | 14 | */ |
15 | 15 | namespace PH7; |
16 | 16 | |
17 | -use |
|
18 | -PH7\Framework\Date\Various, |
|
19 | -PH7\Framework\Video\Api, |
|
20 | -PH7\Framework\Mvc\Model\DbConfig, |
|
21 | -PH7\Framework\File\File; |
|
17 | +use PH7\Framework\Date\Various; |
|
18 | +use PH7\Framework\Video\Api; |
|
19 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
20 | +use PH7\Framework\File\File; |
|
22 | 21 | |
23 | 22 | class VideoDesignCore |
24 | 23 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Gets the XML links. |
32 | 32 | * |
33 | - * @param integet $iNum Number of news to get. Default: 10 |
|
33 | + * @param integer $iNum Number of news to get. Default: 10 |
|
34 | 34 | * @return array The XML tree. |
35 | 35 | * @throws \PH7\Framework\Error\CException\PH7Exception If the Feed URL is not valid. |
36 | 36 | */ |
@@ -7,11 +7,10 @@ |
||
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | 9 | |
10 | -use |
|
11 | -PH7\Framework\Mail\Mail, |
|
12 | -PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl, |
|
13 | -PH7\Framework\Mvc\Router\Uri, |
|
14 | -PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
10 | +use PH7\Framework\Mail\Mail; |
|
11 | +use PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl; |
|
12 | +use PH7\Framework\Mvc\Router\Uri; |
|
13 | +use PH7\Framework\Mvc\Model\Engine\Util\Various; |
|
15 | 14 | |
16 | 15 | class Security |
17 | 16 | { |
@@ -366,7 +366,7 @@ |
||
366 | 366 | * Check account status of profile. |
367 | 367 | * |
368 | 368 | * @param object $oDbProfileData User database object. |
369 | - * @return mixed (boolean | string) Returns a boolean TRUE if the account status is correct, otherwise returns an error message. |
|
369 | + * @return string|boolean (boolean | string) Returns a boolean TRUE if the account status is correct, otherwise returns an error message. |
|
370 | 370 | */ |
371 | 371 | public function checkAccountStatus($oDbProfileData) |
372 | 372 | { |
@@ -10,15 +10,14 @@ |
||
10 | 10 | */ |
11 | 11 | namespace PH7; |
12 | 12 | |
13 | -use |
|
14 | -PH7\Framework\Session\Session, |
|
15 | -PH7\Framework\Navigation\Browser, |
|
16 | -PH7\Framework\Mvc\Model\DbConfig, |
|
17 | -PH7\Framework\Ip\Ip, |
|
18 | -PH7\Framework\File\File, |
|
19 | -PH7\Framework\Util\Various, |
|
20 | -PH7\Framework\Mvc\Router\Uri, |
|
21 | -PH7\Framework\Url\Header; |
|
13 | +use PH7\Framework\Session\Session; |
|
14 | +use PH7\Framework\Navigation\Browser; |
|
15 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
16 | +use PH7\Framework\Ip\Ip; |
|
17 | +use PH7\Framework\File\File; |
|
18 | +use PH7\Framework\Util\Various; |
|
19 | +use PH7\Framework\Mvc\Router\Uri; |
|
20 | +use PH7\Framework\Url\Header; |
|
22 | 21 | |
23 | 22 | // Abstract Class |
24 | 23 | class UserCore |