@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * @param string $sUrl |
28 | 28 | * |
29 | - * @return string|boolean Returns the embed video URL if found, FALSE otherwise. |
|
29 | + * @return false|string Returns the embed video URL if found, FALSE otherwise. |
|
30 | 30 | */ |
31 | 31 | public function getVideo($sUrl) |
32 | 32 | { |
@@ -13,23 +13,22 @@ |
||
13 | 13 | |
14 | 14 | defined('PH7') or exit('Restricted access'); |
15 | 15 | |
16 | -use |
|
17 | -PH7\Framework\Date\CDateTime, |
|
18 | -PH7\Framework\Config\Config, |
|
19 | -PH7\Framework\Mvc\Model\DbConfig, |
|
20 | -PH7\Framework\Ip\Ip, |
|
21 | -PH7\Framework\File\File, |
|
22 | -PH7\Framework\Util\Various, |
|
23 | -PH7\Framework\Geo\Ip\Geo, |
|
24 | -PH7\Framework\Error\CException\PH7Exception, |
|
25 | -Facebook\Facebook as FB, |
|
26 | -Facebook\FacebookResponse, |
|
27 | -Facebook\Helpers\FacebookRedirectLoginHelper, |
|
28 | -Facebook\GraphNodes\GraphUser, |
|
29 | -Facebook\GraphNodes\GraphLocation, |
|
30 | -Facebook\Exceptions\FacebookSDKException, |
|
31 | -Facebook\Exceptions\FacebookResponseException, |
|
32 | -PH7\Framework\Mvc\Router\Uri; |
|
16 | +use PH7\Framework\Date\CDateTime; |
|
17 | +use PH7\Framework\Config\Config; |
|
18 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
19 | +use PH7\Framework\Ip\Ip; |
|
20 | +use PH7\Framework\File\File; |
|
21 | +use PH7\Framework\Util\Various; |
|
22 | +use PH7\Framework\Geo\Ip\Geo; |
|
23 | +use PH7\Framework\Error\CException\PH7Exception; |
|
24 | +use Facebook\Facebook as FB; |
|
25 | +use Facebook\FacebookResponse; |
|
26 | +use Facebook\Helpers\FacebookRedirectLoginHelper; |
|
27 | +use Facebook\GraphNodes\GraphUser; |
|
28 | +use Facebook\GraphNodes\GraphLocation; |
|
29 | +use Facebook\Exceptions\FacebookSDKException; |
|
30 | +use Facebook\Exceptions\FacebookResponseException; |
|
31 | +use PH7\Framework\Mvc\Router\Uri; |
|
33 | 32 | |
34 | 33 | class Facebook extends Api implements IApi |
35 | 34 | { |
@@ -13,19 +13,18 @@ |
||
13 | 13 | |
14 | 14 | defined('PH7') or exit('Restricted access'); |
15 | 15 | |
16 | -use |
|
17 | -PH7\Framework\File\Import, |
|
18 | -PH7\Framework\Date\CDateTime, |
|
19 | -PH7\Framework\Config\Config, |
|
20 | -PH7\Framework\Mvc\Model\DbConfig, |
|
21 | -PH7\Framework\Ip\Ip, |
|
22 | -PH7\Framework\File\File, |
|
23 | -PH7\Framework\Util\Various, |
|
24 | -PH7\Framework\Session\Session, |
|
25 | -PH7\Framework\Registry\Registry, |
|
26 | -PH7\Framework\Mvc\Request\Http as HttpRequest, |
|
27 | -PH7\Framework\Geo\Ip\Geo, |
|
28 | -PH7\Framework\Mvc\Router\Uri; |
|
16 | +use PH7\Framework\File\Import; |
|
17 | +use PH7\Framework\Date\CDateTime; |
|
18 | +use PH7\Framework\Config\Config; |
|
19 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
20 | +use PH7\Framework\Ip\Ip; |
|
21 | +use PH7\Framework\File\File; |
|
22 | +use PH7\Framework\Util\Various; |
|
23 | +use PH7\Framework\Session\Session; |
|
24 | +use PH7\Framework\Registry\Registry; |
|
25 | +use PH7\Framework\Mvc\Request\Http as HttpRequest; |
|
26 | +use PH7\Framework\Geo\Ip\Geo; |
|
27 | +use PH7\Framework\Mvc\Router\Uri; |
|
29 | 28 | |
30 | 29 | class Google extends Api implements IApi |
31 | 30 | { |
@@ -13,15 +13,14 @@ |
||
13 | 13 | |
14 | 14 | defined('PH7') or exit('Restricted access'); |
15 | 15 | |
16 | -use |
|
17 | -PH7\Framework\File\Import, |
|
18 | -PH7\Framework\Date\CDateTime, |
|
19 | -PH7\Framework\Config\Config, |
|
20 | -PH7\Framework\Mvc\Model\DbConfig, |
|
21 | -PH7\Framework\Ip\Ip, |
|
22 | -PH7\Framework\Util\Various, |
|
23 | -PH7\Framework\Geo\Ip\Geo, |
|
24 | -PH7\Framework\Mvc\Router\Uri; |
|
16 | +use PH7\Framework\File\Import; |
|
17 | +use PH7\Framework\Date\CDateTime; |
|
18 | +use PH7\Framework\Config\Config; |
|
19 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
20 | +use PH7\Framework\Ip\Ip; |
|
21 | +use PH7\Framework\Util\Various; |
|
22 | +use PH7\Framework\Geo\Ip\Geo; |
|
23 | +use PH7\Framework\Mvc\Router\Uri; |
|
25 | 24 | |
26 | 25 | class Microsoft extends Api |
27 | 26 | { |
@@ -347,7 +347,7 @@ |
||
347 | 347 | * @param string $sToFind |
348 | 348 | * @param string $sContents |
349 | 349 | * |
350 | - * @return boolean |
|
350 | + * @return integer |
|
351 | 351 | */ |
352 | 352 | protected function find($sToFind, $sContents) |
353 | 353 | { |
@@ -6,9 +6,7 @@ |
||
6 | 6 | defined('PH7') or exit('Restricted access'); |
7 | 7 | |
8 | 8 | use PH7\Framework\Translate\Adapter\Gettext\StreamReader; |
9 | -use PH7\Framework\Translate\Adapter\Gettext\StringReader; |
|
10 | 9 | use PH7\Framework\Translate\Adapter\Gettext\FileReader; |
11 | -use PH7\Framework\Translate\Adapter\Gettext\CachedFileReader; |
|
12 | 10 | |
13 | 11 | |
14 | 12 | /* |
@@ -7,9 +7,8 @@ |
||
7 | 7 | */ |
8 | 8 | namespace PH7; |
9 | 9 | |
10 | -use |
|
11 | -PH7\Framework\Mvc\Router\Uri, |
|
12 | -PH7\Framework\Url\Header; |
|
10 | +use PH7\Framework\Mvc\Router\Uri; |
|
11 | +use PH7\Framework\Url\Header; |
|
13 | 12 | |
14 | 13 | class AdminBlogForm |
15 | 14 | { |
@@ -629,7 +629,7 @@ |
||
629 | 629 | * @param string $sModName Module Name. |
630 | 630 | * @param string $sStatus '1' = Enabled | '0' = Disabled (need to be string because in DB it is an "enum"). |
631 | 631 | * |
632 | - * @return mixed (integer | boolean) Returns the number of rows on success or FALSE on failure. |
|
632 | + * @return boolean (integer | boolean) Returns the number of rows on success or FALSE on failure. |
|
633 | 633 | */ |
634 | 634 | private function _updateMods(Db $oDb, $sModName, $sStatus) |
635 | 635 | { |
@@ -179,6 +179,13 @@ |
||
179 | 179 | } |
180 | 180 | } |
181 | 181 | |
182 | +/** |
|
183 | + * @param string $name |
|
184 | + * @param string $extra |
|
185 | + * @param string $separator |
|
186 | + * @param boolean $labels |
|
187 | + * @param boolean $label_ids |
|
188 | + */ |
|
182 | 189 | function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels, |
183 | 190 | $label_ids, $escape = true) |
184 | 191 | { |