Completed
Push — spip-2-stable ( 0df267...d79e3d )
by cam
39:09 queued 24:29
created
ecrire/action/copier_local.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/@action_copier_local_post
38
+/**
39
+ * @param integer $id_document
40
+ */
38 41
 function action_copier_local_post($id_document) {
39 42
 
40 43
 	// Il faut la source du document pour le copier
Please login to merge, or discard this patch.
ecrire/action/editer_auteurs.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -63,6 +63,11 @@
 block discarded – undo
63 63
 }
64 64
 
65 65
 // http://doc.spip.org/@supprimer_auteur_et_rediriger
66
+/**
67
+ * @param string $type
68
+ * @param string $id
69
+ * @param string $id_auteur
70
+ */
66 71
 function supprimer_auteur_et_rediriger($type, $id, $id_auteur, $redirect)
67 72
 {
68 73
 	$jointure = table_jointure('auteur', $type);
Please login to merge, or discard this patch.
ecrire/action/editer_breve.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -196,6 +196,10 @@
 block discarded – undo
196 196
 }
197 197
 
198 198
 // http://doc.spip.org/@revisions_breves_langue
199
+/**
200
+ * @param string $id_breve
201
+ * @param string $id_rubrique
202
+ */
199 203
 function revisions_breves_langue($id_breve, $id_rubrique, $changer_lang)
200 204
 {
201 205
 	if ($changer_lang == "herit") {
Please login to merge, or discard this patch.
ecrire/action/editer_message.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@  discard block
 block discarded – undo
46 46
 }
47 47
 
48 48
 // http://doc.spip.org/@action_editer_message_post_supprimer
49
+/**
50
+ * @param string $id_message
51
+ */
49 52
 function action_editer_message_post_supprimer($id_message) {
50 53
 	sql_delete("spip_messages", "id_message=".sql_quote($id_message));
51 54
 	sql_delete("spip_auteurs_messages", "id_message=".sql_quote($id_message));
@@ -56,12 +59,20 @@  discard block
 block discarded – undo
56 59
 }
57 60
 
58 61
 // http://doc.spip.org/@action_editer_message_post_vu
62
+/**
63
+ * @param string $id_message
64
+ * @param string $id_auteur
65
+ */
59 66
 function action_editer_message_post_vu($id_message, $id_auteur) {
60 67
 	sql_updateq("spip_auteurs_messages", array("vu" => 'oui'), "id_message=$id_message AND id_auteur=$id_auteur");
61 68
 
62 69
 }
63 70
 
64 71
 // http://doc.spip.org/@action_editer_message_post_retirer
72
+/**
73
+ * @param string $id_message
74
+ * @param string $id_auteur
75
+ */
65 76
 function action_editer_message_post_retirer($id_message, $id_auteur) {
66 77
 	sql_delete("spip_auteurs_messages", "id_message=$id_message AND id_auteur=$id_auteur");
67 78
 }
@@ -111,6 +122,10 @@  discard block
 block discarded – undo
111 122
 
112 123
 
113 124
 // http://doc.spip.org/@action_editer_message_post_envoyer
125
+/**
126
+ * @param string $id_message
127
+ * @param string $statut
128
+ */
114 129
 function action_editer_message_post_envoyer($id_message, $statut) {
115 130
 
116 131
 	sql_updateq("spip_messages", array("statut" => $statut), "id_message=$id_message");
Please login to merge, or discard this patch.
ecrire/action/editer_rubrique.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@
 block discarded – undo
120 120
 // breves en question
121 121
 
122 122
 // http://doc.spip.org/@editer_rubrique_breves
123
+/**
124
+ * @param integer $id_parent
125
+ */
123 126
 function editer_rubrique_breves($id_rubrique, $id_parent, $c=false)
124 127
 {
125 128
 	if (!sql_countsel('spip_breves', "id_rubrique=$id_rubrique"))
Please login to merge, or discard this patch.
ecrire/action/editer_signatures.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
 // ou relancer le signataire.
29 29
 
30 30
 // http://doc.spip.org/@action_editer_signatures_post
31
+/**
32
+ * @param string[] $r
33
+ */
31 34
 function action_editer_signatures_post($r)
32 35
 {
33 36
 	$id = $id_article = intval($r[1]);
@@ -73,6 +76,9 @@  discard block
 block discarded – undo
73 76
 
74 77
 // Relance toutes les signatures en attente
75 78
 
79
+/**
80
+ * @param integer $id_article
81
+ */
76 82
 function action_editer_signatures_relance($id_article)
77 83
 {
78 84
 	include_spip('formulaires/signature');
Please login to merge, or discard this patch.
ecrire/action/editer_site.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -267,6 +267,9 @@
 block discarded – undo
267 267
 // Enregistrre les options et retourne True s'il faut syndiquer.
268 268
 
269 269
 // http://doc.spip.org/@editer_site_options
270
+/**
271
+ * @param string $id_syndic
272
+ */
270 273
 function editer_site_options($id_syndic)
271 274
 {
272 275
 	$moderation = _request('moderation');
Please login to merge, or discard this patch.
ecrire/action/editer_url.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 }
22 22
 
23 23
 
24
+/**
25
+ * @param integer $longueur_maxi
26
+ */
24 27
 function url_nettoyer($titre,$longueur_maxi,$longueur_min=0,$separateur='-',$filtre=''){
25 28
 	if (!defined('_TRANSLITTERER_URL')) define('_TRANSLITTERER_URL', true);
26 29
 	
@@ -79,6 +82,10 @@  discard block
 block discarded – undo
79 82
 	return $url;
80 83
 }
81 84
 
85
+/**
86
+ * @param boolean $confirmer
87
+ * @param string $separateur
88
+ */
82 89
 function url_insert(&$set,$confirmer,$separateur){
83 90
 	// Si l'insertion echoue, c'est une violation d'unicite.
84 91
 	if (@sql_insertq('spip_urls', $set) <= 0) {
Please login to merge, or discard this patch.
ecrire/action/export_all.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
 	echo minipres(_T('info_sauvegarde'), $corps);
42 42
 }
43 43
 
44
+/**
45
+ * @param string $subdir
46
+ */
44 47
 function export_all_rename($nom, $subdir)
45 48
 {
46 49
 	$dir = dirname($subdir);
@@ -57,6 +60,9 @@  discard block
 block discarded – undo
57 60
 // Concatenation des tranches
58 61
 
59 62
 // http://doc.spip.org/@ramasse_parties
63
+/**
64
+ * @param string $meta
65
+ */
60 66
 function ramasse_parties($rub, $archive, $meta)
61 67
 {
62 68
 	$dir = base_dump_dir($meta);
@@ -88,6 +94,9 @@  discard block
 block discarded – undo
88 94
 }
89 95
 
90 96
 // http://doc.spip.org/@export_entete
97
+/**
98
+ * @param string $version_archive
99
+ */
91 100
 function export_entete($version_archive)
92 101
 {
93 102
 	return
@@ -108,6 +117,10 @@  discard block
 block discarded – undo
108 117
 // http://doc.spip.org/@export_enpied
109 118
 function export_enpied () { return  "</SPIP>\n";}
110 119
 
120
+/**
121
+ * @param false|string $dest
122
+ * @param string $retour
123
+ */
111 124
 function export_all_report_size($dest, $rub, $size, $retour)
112 125
 {
113 126
 	global $spip_lang_left,$spip_lang_right;
Please login to merge, or discard this patch.