@@ -211,6 +211,9 @@ discard block |
||
| 211 | 211 | |
| 212 | 212 | /* Mailhide related code */ |
| 213 | 213 | |
| 214 | +/** |
|
| 215 | + * @param string $ky |
|
| 216 | + */ |
|
| 214 | 217 | function _recaptcha_aes_encrypt($val,$ky) { |
| 215 | 218 | if (! function_exists ("mcrypt_encrypt")) { |
| 216 | 219 | die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); |
@@ -222,6 +225,9 @@ discard block |
||
| 222 | 225 | } |
| 223 | 226 | |
| 224 | 227 | |
| 228 | +/** |
|
| 229 | + * @param null|string $x |
|
| 230 | + */ |
|
| 225 | 231 | function _recaptcha_mailhide_urlbase64($x) { |
| 226 | 232 | return strtr(base64_encode ($x), '+/', '-_'); |
| 227 | 233 | } |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | } |
| 419 | 419 | |
| 420 | 420 | /** |
| 421 | - * @return string |
|
| 421 | + * @return resource |
|
| 422 | 422 | */ |
| 423 | 423 | public function getFileName() |
| 424 | 424 | { |
@@ -428,7 +428,7 @@ discard block |
||
| 428 | 428 | /** |
| 429 | 429 | * Determine and get the type of the image (even an unallowed image type) by reading the first bytes and checking its signature. |
| 430 | 430 | * |
| 431 | - * @return string|bool When a correct signature is found, returns the appropriate value, FALSE otherwise. |
|
| 431 | + * @return integer When a correct signature is found, returns the appropriate value, FALSE otherwise. |
|
| 432 | 432 | */ |
| 433 | 433 | public function getType() |
| 434 | 434 | { |
@@ -12,6 +12,10 @@ discard block |
||
| 12 | 12 | class ModeratorModel extends ModeratorCoreModel |
| 13 | 13 | { |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @param integer $iOffset |
|
| 17 | + * @param integer $iLimit |
|
| 18 | + */ |
|
| 15 | 19 | public function getAlbumsPicture($iOffset, $iLimit) |
| 16 | 20 | { |
| 17 | 21 | $iOffset = (int)$iOffset; |
@@ -25,6 +29,10 @@ discard block |
||
| 25 | 29 | return $rStmt->fetchAll(\PDO::FETCH_OBJ); |
| 26 | 30 | } |
| 27 | 31 | |
| 32 | + /** |
|
| 33 | + * @param integer $iOffset |
|
| 34 | + * @param integer $iLimit |
|
| 35 | + */ |
|
| 28 | 36 | public function getPictures($iOffset, $iLimit) |
| 29 | 37 | { |
| 30 | 38 | $iOffset = (int)$iOffset; |
@@ -38,6 +46,10 @@ discard block |
||
| 38 | 46 | return $rStmt->fetchAll(\PDO::FETCH_OBJ); |
| 39 | 47 | } |
| 40 | 48 | |
| 49 | + /** |
|
| 50 | + * @param integer $iOffset |
|
| 51 | + * @param integer $iLimit |
|
| 52 | + */ |
|
| 41 | 53 | public function getAlbumsVideo($iOffset, $iLimit) |
| 42 | 54 | { |
| 43 | 55 | $iOffset = (int)$iOffset; |
@@ -51,6 +63,10 @@ discard block |
||
| 51 | 63 | return $rStmt->fetchAll(\PDO::FETCH_OBJ); |
| 52 | 64 | } |
| 53 | 65 | |
| 66 | + /** |
|
| 67 | + * @param integer $iOffset |
|
| 68 | + * @param integer $iLimit |
|
| 69 | + */ |
|
| 54 | 70 | public function getVideos($iOffset, $iLimit) |
| 55 | 71 | { |
| 56 | 72 | $iOffset = (int)$iOffset; |
@@ -64,6 +80,10 @@ discard block |
||
| 64 | 80 | return $rStmt->fetchAll(\PDO::FETCH_OBJ); |
| 65 | 81 | } |
| 66 | 82 | |
| 83 | + /** |
|
| 84 | + * @param integer $iOffset |
|
| 85 | + * @param integer $iLimit |
|
| 86 | + */ |
|
| 67 | 87 | public function getAvatars($iOffset, $iLimit) |
| 68 | 88 | { |
| 69 | 89 | $iOffset = (int)$iOffset; |
@@ -76,6 +96,10 @@ discard block |
||
| 76 | 96 | return $rStmt->fetchAll(\PDO::FETCH_OBJ); |
| 77 | 97 | } |
| 78 | 98 | |
| 99 | + /** |
|
| 100 | + * @param integer $iOffset |
|
| 101 | + * @param integer $iLimit |
|
| 102 | + */ |
|
| 79 | 103 | public function getBackgrounds($iOffset, $iLimit) |
| 80 | 104 | { |
| 81 | 105 | $iOffset = (int)$iOffset; |
@@ -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 | /* |
@@ -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 | { |
@@ -166,6 +166,14 @@ |
||
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | +/** |
|
| 170 | + * @param string $name |
|
| 171 | + * @param string $extra |
|
| 172 | + * @param string $separator |
|
| 173 | + * @param boolean $labels |
|
| 174 | + * @param boolean $label_ids |
|
| 175 | + * @param boolean $escape |
|
| 176 | + */ |
|
| 169 | 177 | function smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, |
| 170 | 178 | $escape) |
| 171 | 179 | { |
@@ -1093,7 +1093,7 @@ discard block |
||
| 1093 | 1093 | * @param object $parent next higher level of Smarty variables |
| 1094 | 1094 | * @param boolean $do_clone flag is Smarty object shall be cloned |
| 1095 | 1095 | * |
| 1096 | - * @return object template object |
|
| 1096 | + * @return Smarty_Internal_Template template object |
|
| 1097 | 1097 | */ |
| 1098 | 1098 | public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true) |
| 1099 | 1099 | { |
@@ -1169,7 +1169,7 @@ discard block |
||
| 1169 | 1169 | * @param string $template_name |
| 1170 | 1170 | * @param null|mixed $cache_id |
| 1171 | 1171 | * @param null|mixed $compile_id |
| 1172 | - * @param null $caching |
|
| 1172 | + * @param integer $caching |
|
| 1173 | 1173 | * @param \Smarty_Internal_Template $template |
| 1174 | 1174 | * |
| 1175 | 1175 | * @return string |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | * |
| 166 | 166 | * @param Smarty_Internal_Template $_template template object |
| 167 | 167 | * |
| 168 | - * @return string|boolean content |
|
| 168 | + * @return string|false content |
|
| 169 | 169 | */ |
| 170 | 170 | public function readCachedContent(Smarty_Internal_Template $_template) |
| 171 | 171 | { |