@@ -197,6 +197,7 @@ discard block |
||
197 | 197 | |
198 | 198 | /** |
199 | 199 | * Log a message on the current output, as a HTML comment. |
200 | + * @param string $function |
|
200 | 201 | */ |
201 | 202 | protected function logDebug($function, $msg, $htmlComment=true) { |
202 | 203 | $output = "[DEBUG] [$function] $msg"; |
@@ -210,6 +211,7 @@ discard block |
||
210 | 211 | /** |
211 | 212 | * Log a message to the PHP log. |
212 | 213 | * Declared "protected" so it may be Extended if you require customised logging (e.g. particular log file location). |
214 | + * @param string $function |
|
213 | 215 | */ |
214 | 216 | protected function logPHPDebug($function, $msg) { |
215 | 217 | if ($this->classparams['debug_php'] === true) { |
@@ -259,7 +261,7 @@ discard block |
||
259 | 261 | * the document.embeds[] array while in others, it is accessible via the |
260 | 262 | * document.applets[] array. |
261 | 263 | * |
262 | - * @return A string, containing the necessary wrapper function (named JUploadSetProperty) |
|
264 | + * @return string string, containing the necessary wrapper function (named JUploadSetProperty) |
|
263 | 265 | */ |
264 | 266 | private function str_jsinit() { |
265 | 267 | $N = "\n"; |
@@ -279,7 +281,7 @@ discard block |
||
279 | 281 | /** |
280 | 282 | * Build a string, containing the applet tag with all parameters. |
281 | 283 | * |
282 | - * @return A string, containing the applet tag |
|
284 | + * @return string string, containing the applet tag |
|
283 | 285 | */ |
284 | 286 | private function str_applet() { |
285 | 287 | $N = "\n"; |
@@ -340,6 +342,9 @@ discard block |
||
340 | 342 | return; |
341 | 343 | } |
342 | 344 | |
345 | + /** |
|
346 | + * @param string $path |
|
347 | + */ |
|
343 | 348 | private function mkdirp($path) { |
344 | 349 | // create subdir (hierary) below destdir; |
345 | 350 | $dirs = explode('/', $path); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | /** |
120 | 120 | * prepare HTML for output |
121 | 121 | * |
122 | - * @return sting HTML |
|
122 | + * @return string HTML |
|
123 | 123 | */ |
124 | 124 | |
125 | 125 | function render() |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * Creates one instance of the tinyMCE object |
47 | 47 | * |
48 | 48 | * @param array $config The configuration |
49 | - * @return object $instance The instance of tinyMCE object |
|
49 | + * @return TinyMCE $instance The instance of tinyMCE object |
|
50 | 50 | **/ |
51 | 51 | |
52 | 52 | function &instance( $config ) |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Initializes the tinyMCE |
73 | - * @return true |
|
73 | + * @return boolean |
|
74 | 74 | **/ |
75 | 75 | |
76 | 76 | function init() |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * Creates one instance of the tinyMCE object |
47 | 47 | * |
48 | 48 | * @param array $config The configuration |
49 | - * @return object $instance The instance of tinyMCE object |
|
49 | + * @return TinyMCE $instance The instance of tinyMCE object |
|
50 | 50 | **/ |
51 | 51 | |
52 | 52 | function &instance( $config ) |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Initializes the tinyMCE |
73 | - * @return true |
|
73 | + * @return boolean |
|
74 | 74 | **/ |
75 | 75 | |
76 | 76 | function init() |