Completed
Push — spip-2-stable ( 0df267...d79e3d )
by cam
39:09 queued 24:29
created
ecrire/base/connect_sql.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
 // A l'installation, il faut simuler l'existence de ce fichier
25 25
 
26 26
 // http://doc.spip.org/@spip_connect
27
+/**
28
+ * @return string
29
+ */
27 30
 function spip_connect($serveur='', $version='') {
28 31
 	global $connexions, $spip_sql_version;
29 32
 
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
 // connue seulement des convertisseurs automatiques
129 132
 
130 133
 // http://doc.spip.org/@spip_connect_sql
134
+/**
135
+ * @return string
136
+ */
131 137
 function spip_connect_sql($version, $ins='', $serveur='', $cont=false) {
132 138
 	$desc = spip_connect($serveur, $version);
133 139
 	if (function_exists($f = @$desc[$version][$ins])) return $f;
@@ -330,6 +336,9 @@  discard block
 block discarded – undo
330 336
 
331 337
 // Recuperer le nom de la table de jointure xxxx sur l'objet yyyy
332 338
 // http://doc.spip.org/@table_jointure
339
+/**
340
+ * @param string $x
341
+ */
333 342
 function table_jointure($x, $y) {
334 343
 	$trouver_table = charger_fonction('trouver_table', 'base');
335 344
 	$xdesc = $trouver_table(table_objet($x));
Please login to merge, or discard this patch.
ecrire/base/convert_sql_utf8.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 }
36 36
 
37 37
 // http://doc.spip.org/@convert_sql_utf8
38
+/**
39
+ * @param string $titre
40
+ */
38 41
 function convert_sql_utf8($titre){
39 42
 
40 43
 	define(_DEBUG_CONVERT, false);
Please login to merge, or discard this patch.
ecrire/base/convert_utf8.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -84,6 +84,10 @@  discard block
 block discarded – undo
84 84
 
85 85
 
86 86
 // http://doc.spip.org/@convert_table_utf8
87
+/**
88
+ * @param string $table
89
+ * @param string $champ
90
+ */
87 91
 function convert_table_utf8($f, $table, $champ)
88 92
 {
89 93
 	echo "<br /><b>$table</b> &nbsp; ";
@@ -148,6 +152,9 @@  discard block
 block discarded – undo
148 152
 
149 153
 // stocker le nouvel extra
150 154
 // http://doc.spip.org/@convert_extra
155
+/**
156
+ * @param string $charset_source
157
+ */
151 158
 function convert_extra($v, $charset_source) {
152 159
 	if ($extra = @unserialize($v)) {
153 160
 		foreach ($extra as $key=>$val)
Please login to merge, or discard this patch.
ecrire/base/import_all.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
 }
80 80
 
81 81
 // http://doc.spip.org/@import_all_milieu
82
+/**
83
+ * @param string $archive
84
+ */
82 85
 function import_all_milieu($request, $archive)
83 86
 {
84 87
 	global $trans;
Please login to merge, or discard this patch.
ecrire/base/upgrade.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -231,6 +231,9 @@
 block discarded – undo
231 231
 
232 232
 // pour versions <= 1.926
233 233
 // http://doc.spip.org/@upgrade_vers
234
+/**
235
+ * @param double $version
236
+ */
234 237
 function upgrade_vers($version, $version_installee, $version_cible = 0){
235 238
 	return ($version_installee<$version
236 239
 		AND (($version_cible>=$version) OR ($version_cible==0))
Please login to merge, or discard this patch.
ecrire/configuration/reducteur.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@
 block discarded – undo
138 138
 }
139 139
 
140 140
 // http://doc.spip.org/@afficher_choix_vignette
141
+/**
142
+ * @param string $process
143
+ */
141 144
 function afficher_choix_vignette($process) {
142 145
 
143 146
 	//global $taille_preview;
Please login to merge, or discard this patch.
ecrire/exec/accueil.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@  discard block
 block discarded – undo
97 97
 //
98 98
 
99 99
 // http://doc.spip.org/@colonne_droite_eq4
100
+/**
101
+ * @param integer $id_rubrique
102
+ */
100 103
 function colonne_droite_eq4($id_rubrique, $activer_breves, $activer_sites, $articles_mots) {
101 104
 	global  $connect_statut, $connect_toutes_rubriques;
102 105
 
@@ -124,6 +127,9 @@  discard block
 block discarded – undo
124 127
 //
125 128
 
126 129
 // http://doc.spip.org/@colonne_droite_neq4
130
+/**
131
+ * @param integer $id_rubrique
132
+ */
127 133
 function colonne_droite_neq4($id_rubrique, $activer_breves, $activer_sites, $articles_mots) {
128 134
   global  $connect_statut, $connect_id_auteur, $connect_login;
129 135
 
Please login to merge, or discard this patch.
ecrire/exec/admin_tech.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -255,6 +255,14 @@  discard block
 block discarded – undo
255 255
 
256 256
 
257 257
 // http://doc.spip.org/@liste_sauvegardes
258
+/**
259
+ * @param integer $key
260
+ * @param string $fichier
261
+ * @param string $class
262
+ * @param boolean $selected
263
+ * @param integer $date
264
+ * @param integer $taille
265
+ */
258 266
 function liste_sauvegardes($key, $fichier, $class, $selected, $date, $taille)
259 267
 {
260 268
 	return "\n<tr class='$class'><td><input type='radio' name='archive' value='"
@@ -301,6 +309,9 @@  discard block
 block discarded – undo
301 309
 
302 310
 
303 311
 // Fabrique la liste a cocher des tables presentes
312
+/**
313
+ * @param string $name
314
+ */
304 315
 function controle_tables_en_base($name, $check)
305 316
 {
306 317
 	$p = '/^' . $GLOBALS['table_prefix'] . '/';
Please login to merge, or discard this patch.
ecrire/exec/admin_vider.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 
18 18
 
19 19
 // http://doc.spip.org/@calculer_taille_dossier
20
+/**
21
+ * @param string|null $dir
22
+ */
20 23
 function calculer_taille_dossier ($dir) {
21 24
 	$handle = @opendir($dir);
22 25
 	if (!$handle) return;
Please login to merge, or discard this patch.