Completed
Push — spip-2.1 ( 40676b...3873a3 )
by cam
106:54 queued 93:44
created
ecrire/exec/synchro.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@
 block discarded – undo
16 16
 include_spip('inc/acces'); // pour low_sec (iCal)
17 17
 
18 18
 // http://doc.spip.org/@afficher_liens_calendrier
19
+/**
20
+ * @param string $lien
21
+ * @param string $icone
22
+ */
19 23
 function afficher_liens_calendrier($lien, $icone, $texte) {
20 24
 
21 25
 	global $spip_display;
Please login to merge, or discard this patch.
ecrire/exec/tourner.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -19,6 +19,10 @@
 block discarded – undo
19 19
 }
20 20
 
21 21
 // http://doc.spip.org/@exec_tourner_args
22
+/**
23
+ * @param integer $id_document
24
+ * @param integer $id
25
+ */
22 26
 function exec_tourner_args($id_document, $type, $id)
23 27
 {
24 28
 	if (!$id_document OR !($type == 'article' 
Please login to merge, or discard this patch.
ecrire/exec/valider_xml.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
 }
34 34
 
35 35
 // http://doc.spip.org/@valider_xml_ok
36
+/**
37
+ * @param integer $limit
38
+ */
36 39
 function valider_xml_ok($url, $req_ext, $limit, $rec)
37 40
 {
38 41
 	$url = urldecode(trim($url));
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
 }
123 126
 
124 127
 // http://doc.spip.org/@valider_resultats
128
+/**
129
+ * @param boolean $mode
130
+ */
125 131
 function valider_resultats($res, $mode)
126 132
 {
127 133
 	$i = $j = $k = 0;
@@ -203,6 +209,10 @@  discard block
 block discarded – undo
203 209
 }
204 210
 
205 211
 // http://doc.spip.org/@valider_pseudo_url
212
+/**
213
+ * @param string $dir
214
+ * @param string $script
215
+ */
206 216
 function valider_pseudo_url($dir, $script, $args='')
207 217
 {
208 218
 	return  ($dir == 'exec')
@@ -289,6 +299,9 @@  discard block
 block discarded – undo
289 299
 }
290 300
 
291 301
 // http://doc.spip.org/@valider_dir
302
+/**
303
+ * @param string $dir
304
+ */
292 305
 function valider_dir($files, $ext, $dir)
293 306
 {
294 307
 	$res = array();
Please login to merge, or discard this patch.
ecrire/genie/mise_a_jour.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -34,6 +34,10 @@  discard block
 block discarded – undo
34 34
 define('_VERSIONS_SERVEUR', 'http://files.spip.org/');
35 35
 define('_VERSIONS_LISTE', 'archives.xml');
36 36
 
37
+/**
38
+ * @param string $dir
39
+ * @param string $file
40
+ */
37 41
 function info_maj ($dir, $file, $version){
38 42
 	include_spip('inc/plugin');
39 43
 	
@@ -67,6 +71,11 @@  discard block
 block discarded – undo
67 71
 // on teste la nouveaute par If-Modified-Since,
68 72
 // et seulement quand celui-ci a change' pour limiter les acces HTTP
69 73
 
74
+/**
75
+ * @param string $nom
76
+ *
77
+ * @return string
78
+ */
70 79
 function info_maj_cache($nom, $dir, $page='')
71 80
 {
72 81
 	$re = '<archives id="a' . $GLOBALS['meta']["alea_ephemere"] . '">';
Please login to merge, or discard this patch.
ecrire/genie/optimiser.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -65,6 +65,10 @@
 block discarded – undo
65 65
 // L'index du SELECT doit s'appeler "id"
66 66
 
67 67
 // http://doc.spip.org/@optimiser_sansref
68
+/**
69
+ * @param string $table
70
+ * @param string $id
71
+ */
68 72
 function optimiser_sansref($table, $id, $sel)
69 73
 {
70 74
 	$in = array();
Please login to merge, or discard this patch.
ecrire/genie/syndic.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@
 block discarded – undo
127 127
 // un autre item du meme feed qui aurait le meme link
128 128
 //
129 129
 // http://doc.spip.org/@inserer_article_syndique
130
+/**
131
+ * @param string $statut
132
+ */
130 133
 function inserer_article_syndique ($data, $now_id_syndic, $statut, $url_site, $url_syndic, $resume, $documents, &$faits) {
131 134
 	// Creer le lien s'il est nouveau - cle=(id_syndic,url)
132 135
 	// On coupe a 255 caracteres pour eviter tout doublon
Please login to merge, or discard this patch.
ecrire/inc/acces.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -199,6 +199,9 @@
 block discarded – undo
199 199
 // Installe ou verifie un .htaccess, y compris sa prise en compte par Apache
200 200
 //
201 201
 // http://doc.spip.org/@verifier_htaccess
202
+/**
203
+ * @param string|null $rep
204
+ */
202 205
 function verifier_htaccess($rep, $force=false) {
203 206
 	$htaccess = rtrim($rep,"/") . "/" . _ACCESS_FILE_NAME;
204 207
 	if (((@file_exists($htaccess)) OR defined('_TEST_DIRS')) AND !$force)
Please login to merge, or discard this patch.
ecrire/inc/actions.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
 }
31 31
 
32 32
 // http://doc.spip.org/@redirige_action_post
33
+/**
34
+ * @return string
35
+ */
33 36
 function redirige_action_post($action, $arg, $ret, $gra, $corps, $att='') {
34 37
 	$r = _DIR_RESTREINT . generer_url_ecrire($ret, $gra, false, true);
35 38
 	return generer_action_auteur($action, $arg, $r, $corps, $att . " method='post'");
@@ -41,6 +44,9 @@  discard block
 block discarded – undo
41 44
 // d'attribut  id = $action-$id (cf. AjaxSqueeze dans layer.js)
42 45
 
43 46
 // http://doc.spip.org/@ajax_action_auteur
47
+/**
48
+ * @param string $action
49
+ */
44 50
 function ajax_action_auteur($action, $id, $script, $args='', $corps=false, $args_ajax='', $fct_ajax='')
45 51
 {
46 52
 	if (strpos($args,"#")===FALSE)
@@ -109,6 +115,9 @@  discard block
 block discarded – undo
109 115
 // Comme ci-dessus, mais reduit au cas POST et on fournit le bouton Submit.
110 116
 // 
111 117
 // http://doc.spip.org/@ajax_action_post
118
+/**
119
+ * @param string $action
120
+ */
112 121
 function ajax_action_post($action, $arg, $retour, $gra, $corps, $clic='', $atts_i='', $atts_span = "", $args_ajax='', $fct_ajax='')
113 122
 {
114 123
 	global $spip_lang_right;
@@ -187,6 +196,9 @@  discard block
 block discarded – undo
187 196
 // $fonction : denomination semantique du bloc, que l'on retouve en attribut class
188 197
 // $id : id de l'objet concerne si il y a lieu ou "", sert a construire un identifiant unique au bloc ("fonction-id")
189 198
 // http://doc.spip.org/@ajax_action_greffe
199
+/**
200
+ * @param string $fonction
201
+ */
190 202
 function ajax_action_greffe($fonction, $id, $corps)
191 203
 {
192 204
 	$idom = $fonction.(strlen($id)?"-$id":"");
Please login to merge, or discard this patch.
ecrire/inc/admin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -167,6 +167,9 @@
 block discarded – undo
167 167
 }
168 168
 
169 169
 // http://doc.spip.org/@copy_request
170
+/**
171
+ * @param string $suite
172
+ */
170 173
 function copy_request($script, $suite, $submit='')
171 174
 {
172 175
         include_spip('inc/filtres');
Please login to merge, or discard this patch.