@@ -128,7 +128,7 @@ |
||
| 128 | 128 | /** |
| 129 | 129 | * prepare HTML for output |
| 130 | 130 | * |
| 131 | - * @return sting HTML |
|
| 131 | + * @return string HTML |
|
| 132 | 132 | */ |
| 133 | 133 | function render() |
| 134 | 134 | { |
@@ -265,7 +265,7 @@ |
||
| 265 | 265 | /** |
| 266 | 266 | * @param string $css_file |
| 267 | 267 | * |
| 268 | - * @return array |
|
| 268 | + * @return string[] |
|
| 269 | 269 | */ |
| 270 | 270 | function loadCss($css_file = 'style.css') |
| 271 | 271 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * Creates one instance of the tinyMCE object |
| 48 | 48 | * |
| 49 | 49 | * @param array $config The configuration |
| 50 | - * @return object $instance The instance of tinyMCE object |
|
| 50 | + * @return TinyMCE $instance The instance of tinyMCE object |
|
| 51 | 51 | **/ |
| 52 | 52 | function &instance( $config ) |
| 53 | 53 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | 74 | * Initializes the tinyMCE |
| 75 | - * @return true |
|
| 75 | + * @return boolean |
|
| 76 | 76 | **/ |
| 77 | 77 | |
| 78 | 78 | function init() |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | /** |
| 118 | 118 | * prepare HTML for output |
| 119 | 119 | * |
| 120 | - * @return sting HTML |
|
| 120 | + * @return string HTML |
|
| 121 | 121 | */ |
| 122 | 122 | function render() |
| 123 | 123 | { |
@@ -88,7 +88,6 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * Get initial content |
| 90 | 90 | * |
| 91 | - * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat |
|
| 92 | 91 | * @return string |
| 93 | 92 | */ |
| 94 | 93 | function getValue() { |
@@ -115,7 +114,7 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * prepare HTML for output |
| 117 | 116 | * |
| 118 | - * @return sting HTML |
|
| 117 | + * @return string HTML |
|
| 119 | 118 | */ |
| 120 | 119 | function render() |
| 121 | 120 | { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * prepare HTML for output |
| 67 | 67 | * |
| 68 | 68 | * @param bool decode content? |
| 69 | - * @return sting HTML |
|
| 69 | + * @return string HTML |
|
| 70 | 70 | */ |
| 71 | 71 | function render($decode = true) |
| 72 | 72 | { |
@@ -32,16 +32,6 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Constructor |
| 34 | 34 | * |
| 35 | - * @param string $caption Caption |
|
| 36 | - * @param string $name "name" attribute |
|
| 37 | - * @param string $value Initial text |
|
| 38 | - * @param string $rows Number of rows (facultative) |
|
| 39 | - * @param string $cols Number of cols (facultative) |
|
| 40 | - * @param string $width iframe width (facultative) |
|
| 41 | - * @param string $height iframe height (facultative) |
|
| 42 | - * @param array $options Toolbar Options (facultative) |
|
| 43 | - * OR |
|
| 44 | - * @param array $options Editor Options |
|
| 45 | 35 | */ |
| 46 | 36 | |
| 47 | 37 | function __construct() |
@@ -144,7 +134,7 @@ discard block |
||
| 144 | 134 | /** |
| 145 | 135 | * prepare HTML for output |
| 146 | 136 | * |
| 147 | - * @return sting HTML |
|
| 137 | + * @return string HTML |
|
| 148 | 138 | */ |
| 149 | 139 | function render() |
| 150 | 140 | { |
@@ -37,6 +37,7 @@ discard block |
||
| 37 | 37 | * @author Instant Zero (http://xoops.instant-zero.com) |
| 38 | 38 | * @copyright (c) Instant Zero |
| 39 | 39 | * @param string $option module option's name |
| 40 | + * @return string |
|
| 40 | 41 | */ |
| 41 | 42 | function news_getmoduleoption($option, $repmodule='news') |
| 42 | 43 | { |
@@ -375,6 +376,7 @@ discard block |
||
| 375 | 376 | * @package News |
| 376 | 377 | * @author Instant Zero (http://xoops.instant-zero.com) |
| 377 | 378 | * @copyright (c) Instant Zero |
| 379 | + * @param string $content |
|
| 378 | 380 | */ |
| 379 | 381 | function news_createmeta_keywords($content) |
| 380 | 382 | { |
@@ -212,6 +212,7 @@ discard block |
||
| 212 | 212 | /** |
| 213 | 213 | * Count the number of files and directories in a given folder |
| 214 | 214 | * minus the thumbnail folders and thumbnails. |
| 215 | + * @param string $path |
|
| 215 | 216 | */ |
| 216 | 217 | function countFiles($path) |
| 217 | 218 | { |
@@ -251,7 +252,7 @@ discard block |
||
| 251 | 252 | /** |
| 252 | 253 | * Check if the file contains the thumbnail prefix. |
| 253 | 254 | * @param string $file filename to be checked |
| 254 | - * @return true if the file contains the thumbnail prefix, false otherwise. |
|
| 255 | + * @return boolean if the file contains the thumbnail prefix, false otherwise. |
|
| 255 | 256 | */ |
| 256 | 257 | function isThumb($file) |
| 257 | 258 | { |
@@ -265,7 +266,7 @@ discard block |
||
| 265 | 266 | /** |
| 266 | 267 | * Check if the given directory is a thumbnail directory. |
| 267 | 268 | * @param string $entry directory name |
| 268 | - * @return true if it is a thumbnail directory, false otherwise |
|
| 269 | + * @return boolean if it is a thumbnail directory, false otherwise |
|
| 269 | 270 | */ |
| 270 | 271 | function isThumbDir($entry) |
| 271 | 272 | { |
@@ -443,7 +444,7 @@ discard block |
||
| 443 | 444 | * @param string $relative the relative path where the file |
| 444 | 445 | * should be copied to. |
| 445 | 446 | * @param array $file the uploaded file from $_FILES |
| 446 | - * @return boolean true if the file was processed successfully, |
|
| 447 | + * @return false|string true if the file was processed successfully, |
|
| 447 | 448 | * false otherwise |
| 448 | 449 | */ |
| 449 | 450 | function _processFiles($relative, $file) |
@@ -726,7 +727,7 @@ discard block |
||
| 726 | 727 | /** |
| 727 | 728 | * Create new directories. |
| 728 | 729 | * If in safe_mode, nothing happens. |
| 729 | - * @return boolean true if created, false otherwise. |
|
| 730 | + * @return boolean|null true if created, false otherwise. |
|
| 730 | 731 | */ |
| 731 | 732 | function processNewDir() |
| 732 | 733 | { |