@@ -87,6 +87,9 @@ |
||
| 87 | 87 | return $res; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | +/** |
|
| 91 | + * @param string $default |
|
| 92 | + */ |
|
| 90 | 93 | function relayeur_saisie_ou_config($http_proxy, $default){ |
| 91 | 94 | // http_proxy : ne pas prendre en compte la modif si le password est '****' |
| 92 | 95 | if (preg_match(',:\*\*\*\*@,', $http_proxy)) |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | |
| 289 | 289 | // http://doc.spip.org/@spip_mysql_order |
| 290 | 290 | /** |
| 291 | - * @param $orderby |
|
| 291 | + * @param string $orderby |
|
| 292 | 292 | * @return string |
| 293 | 293 | */ |
| 294 | 294 | function spip_mysql_order($orderby) |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | |
| 326 | 326 | // http://doc.spip.org/@calculer_mysql_expression |
| 327 | 327 | /** |
| 328 | - * @param $expression |
|
| 328 | + * @param string $expression |
|
| 329 | 329 | * @param $v |
| 330 | 330 | * @param string $join |
| 331 | 331 | * @return string |
@@ -420,9 +420,8 @@ discard block |
||
| 420 | 420 | /** |
| 421 | 421 | * Selectionne une base de donnees |
| 422 | 422 | * |
| 423 | - * @param string $nom |
|
| 424 | - * Nom de la base a utiliser |
|
| 425 | 423 | * |
| 424 | + * @param string $db |
|
| 426 | 425 | * @return bool |
| 427 | 426 | * True cas de success. |
| 428 | 427 | * False en cas d'erreur. |
@@ -828,7 +827,7 @@ discard block |
||
| 828 | 827 | // http://doc.spip.org/@spip_mysql_insert |
| 829 | 828 | /** |
| 830 | 829 | * @param $table |
| 831 | - * @param $champs |
|
| 830 | + * @param string $champs |
|
| 832 | 831 | * @param $valeurs |
| 833 | 832 | * @param string $desc |
| 834 | 833 | * @param string $serveur |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | * |
| 178 | 178 | * @api |
| 179 | 179 | * @param array $objets_source |
| 180 | - * @param array|string $objets_lies |
|
| 180 | + * @param string $objets_lies |
|
| 181 | 181 | * @return int |
| 182 | 182 | */ |
| 183 | 183 | function objet_optimiser_liens($objets_source,$objets_lies){ |
@@ -45,6 +45,9 @@ |
||
| 45 | 45 | } |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | +/** |
|
| 49 | + * @return string |
|
| 50 | + */ |
|
| 48 | 51 | function menu_rubriques($complet = true){ |
| 49 | 52 | $ret = "<li class='toutsite'><a href='".generer_url_ecrire('plan')."'>"._T('info_tout_site')."</a></li>"; |
| 50 | 53 | |
@@ -266,7 +266,7 @@ |
||
| 266 | 266 | * @param $new_pass |
| 267 | 267 | * @param $id_auteur |
| 268 | 268 | * @param string $serveur |
| 269 | - * @return bool |
|
| 269 | + * @return string|boolean |
|
| 270 | 270 | * informe du succes ou de l'echec du changement du mot de passe |
| 271 | 271 | */ |
| 272 | 272 | function auth_ldap_modifier_pass($login, $new_pass, $id_auteur, $serveur=''){ |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @see trouver_fond() |
| 57 | 57 | * @param string |
| 58 | 58 | * Nom du formulaire |
| 59 | - * @return string|bool |
|
| 59 | + * @return string|false |
|
| 60 | 60 | * - string : chemin du squelette |
| 61 | 61 | * - false : pas de squelette trouvé |
| 62 | 62 | **/ |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | // car rien ne garantit que le .htaccess soit identique. A approfondir |
| 26 | 26 | |
| 27 | 27 | // http://doc.spip.org/@generer_generer_url |
| 28 | +/** |
|
| 29 | + * @param string $type |
|
| 30 | + */ |
|
| 28 | 31 | function generer_generer_url($type, $p){ |
| 29 | 32 | $_id = interprete_argument_balise(1,$p); |
| 30 | 33 | |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | // A l'installation, il faut simuler l'existence de ce fichier |
| 26 | 26 | |
| 27 | 27 | // http://doc.spip.org/@spip_connect |
| 28 | +/** |
|
| 29 | + * @return string |
|
| 30 | + */ |
|
| 28 | 31 | function spip_connect($serveur='', $version='') { |
| 29 | 32 | global $connexions, $spip_sql_version; |
| 30 | 33 | |
@@ -28,6 +28,11 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | // http://doc.spip.org/@exec_rechercher_args |
| 31 | +/** |
|
| 32 | + * @param integer $id |
|
| 33 | + * @param integer $exclus |
|
| 34 | + * @param string $rac |
|
| 35 | + */ |
|
| 31 | 36 | function exec_rechercher_args($id, $type, $exclus, $rac, $do){ |
| 32 | 37 | if (!$do) $do = 'aff'; |
| 33 | 38 | |