@@ -33,6 +33,9 @@ discard block |
||
| 33 | 33 | return $bloc_editable; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param integer $parent |
|
| 38 | + */ |
|
| 36 | 39 | private function getOrdrePage($parent) { |
| 37 | 40 | if (($parent != "") || ($parent != 0)) { |
| 38 | 41 | $dbc = \core\App::getDb(); |
@@ -66,13 +69,13 @@ discard block |
||
| 66 | 69 | } |
| 67 | 70 | |
| 68 | 71 | /** |
| 69 | - * @param $nom_table |
|
| 70 | - * @param $nom_id_table |
|
| 71 | - * @param $champ |
|
| 72 | + * @param string $nom_table |
|
| 73 | + * @param string $nom_id_table |
|
| 74 | + * @param string $champ |
|
| 72 | 75 | * @param $value |
| 73 | - * @param $limit_char |
|
| 74 | - * @param $err_char |
|
| 75 | - * @param $err_egalite |
|
| 76 | + * @param integer $limit_char |
|
| 77 | + * @param string $err_char |
|
| 78 | + * @param string $err_egalite |
|
| 76 | 79 | * @param null $value_id_table |
| 77 | 80 | * @return string |
| 78 | 81 | * fonction qui permet de vérifier qu'il n'y ait pas d'erreur dans le champ spécifié ni de doublons |
@@ -243,6 +243,10 @@ |
||
| 243 | 243 | } |
| 244 | 244 | } |
| 245 | 245 | |
| 246 | + /** |
|
| 247 | + * @param integer $errorCode |
|
| 248 | + * @param string $path |
|
| 249 | + */ |
|
| 246 | 250 | function appendErrorNode(&$oErrorsNode, $errorCode, $name, $type, $path) |
| 247 | 251 | { |
| 248 | 252 | $oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error"); |
@@ -259,6 +259,10 @@ |
||
| 259 | 259 | } |
| 260 | 260 | } |
| 261 | 261 | |
| 262 | + /** |
|
| 263 | + * @param integer $errorCode |
|
| 264 | + * @param string $path |
|
| 265 | + */ |
|
| 262 | 266 | function appendErrorNode(&$oErrorsNode, $errorCode, $name, $type, $path) |
| 263 | 267 | { |
| 264 | 268 | $oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error"); |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | * Get "forceAscii" value |
| 233 | 233 | * |
| 234 | 234 | * @access public |
| 235 | - * @return array |
|
| 235 | + * @return boolean |
|
| 236 | 236 | */ |
| 237 | 237 | function forceAscii() |
| 238 | 238 | { |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | * Get regular expression to hide folders |
| 244 | 244 | * |
| 245 | 245 | * @access public |
| 246 | - * @return array |
|
| 246 | + * @return string |
|
| 247 | 247 | */ |
| 248 | 248 | function getHideFoldersRegex() |
| 249 | 249 | { |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * Get regular expression to hide files |
| 270 | 270 | * |
| 271 | 271 | * @access public |
| 272 | - * @return array |
|
| 272 | + * @return string |
|
| 273 | 273 | */ |
| 274 | 274 | function getHideFilesRegex() |
| 275 | 275 | { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | * Run user defined hooks |
| 25 | 25 | * |
| 26 | 26 | * @param string $event |
| 27 | - * @param object $errorHandler |
|
| 28 | 27 | * @param array $args |
| 29 | 28 | * @return boolean (true to continue processing, false otherwise) |
| 30 | 29 | */ |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * Set value |
| 52 | 52 | * |
| 53 | 53 | * @param string $key |
| 54 | - * @param mixed $obj |
|
| 54 | + * @param string $obj |
|
| 55 | 55 | * @access public |
| 56 | 56 | */ |
| 57 | 57 | function set($key, $obj) |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * Get value |
| 64 | 64 | * |
| 65 | 65 | * @param string $key |
| 66 | - * @return mixed |
|
| 66 | + * @return string |
|
| 67 | 67 | * @access public |
| 68 | 68 | */ |
| 69 | 69 | function get($key) |
@@ -221,7 +221,6 @@ discard block |
||
| 221 | 221 | * If allowed extensions are defined, return false if extension isn't on allowed list. |
| 222 | 222 | * |
| 223 | 223 | * @access public |
| 224 | - * @param string $extension extension |
|
| 225 | 224 | * @param boolean $renameIfRequired whether try to rename file or not |
| 226 | 225 | * @return boolean |
| 227 | 226 | */ |
@@ -314,8 +313,8 @@ discard block |
||
| 314 | 313 | * Check given path |
| 315 | 314 | * Return true if path contains folder name that matches hidden folder names list |
| 316 | 315 | * |
| 317 | - * @param string $folderName |
|
| 318 | 316 | * @access public |
| 317 | + * @param string $path |
|
| 319 | 318 | * @return boolean |
| 320 | 319 | */ |
| 321 | 320 | function checkIsHiddenPath($path) |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * Throw file upload error, return true if error has been thrown, false if error has been catched |
| 37 | 37 | * |
| 38 | 38 | * @param int $number |
| 39 | - * @param string $text |
|
| 39 | + * @param string $exit |
|
| 40 | 40 | * @access public |
| 41 | 41 | */ |
| 42 | 42 | function throwError($number, $uploaded = false, $exit = true) { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * Throw file upload error, return true if error has been thrown, false if error has been catched |
| 37 | 37 | * |
| 38 | 38 | * @param int $number |
| 39 | - * @param string $text |
|
| 39 | + * @param string $exit |
|
| 40 | 40 | * @access public |
| 41 | 41 | */ |
| 42 | 42 | function throwError($number, $uploaded = false, $exit = true) { |