Completed
Push — spip-3.0 ( 300bac...77f3d0 )
by cam
08:54
created
ecrire/genie/optimiser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 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 $id
70
+ */
68 71
 function optimiser_sansref($table, $id, $sel, $and="")
69 72
 {
70 73
 	$in = array();
Please login to merge, or discard this patch.
ecrire/inc/acces.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@  discard block
 block discarded – undo
105 105
 // Inclure les arguments significatifs pour le hachage
106 106
 // cas particulier du statut pour compatibilite ancien rss/suivi_revisions
107 107
 
108
+/**
109
+ * @param string $op
110
+ */
108 111
 function param_low_sec($op, $args=array(), $lang='', $mime='rss')
109 112
 {
110 113
 	$a = $b = '';
@@ -202,6 +205,9 @@  discard block
 block discarded – undo
202 205
 // Installe ou verifie un .htaccess, y compris sa prise en compte par Apache
203 206
 //
204 207
 // http://doc.spip.org/@verifier_htaccess
208
+/**
209
+ * @param string|null $rep
210
+ */
205 211
 function verifier_htaccess($rep, $force=false) {
206 212
 	$htaccess = rtrim($rep,"/") . "/" . _ACCESS_FILE_NAME;
207 213
 	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, -2 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@  discard block
 block discarded – undo
24 24
  *   -1 : renvoyer action, arg et hash sous forme de array()
25 25
  *   true ou false : renvoyer une url, avec & (false) ou & (true)
26 26
  *   string : renvoyer un formulaire
27
- * @param string|int $att
27
+ * @param string $att
28 28
  *   id_auteur pour lequel generer l'action en mode url ou array()
29 29
  *   atributs du formulaire en mode formulaire
30 30
  * @param bool $public
31
- * @return array|string
31
+ * @return string
32 32
  */
33 33
 function generer_action_auteur($action, $arg, $redirect = "", $mode = false, $att = '', $public = false){
34 34
 	$securiser_action = charger_fonction('securiser_action', 'inc');
@@ -36,6 +36,10 @@  discard block
 block discarded – undo
36 36
 }
37 37
 
38 38
 // http://doc.spip.org/@redirige_action_auteur
39
+/**
40
+ * @param string $action
41
+ * @param string $ret
42
+ */
39 43
 function redirige_action_auteur($action, $arg, $ret, $gra = '', $mode = false, $atts = '', $public = false) {
40 44
 
41 45
 	$r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) .generer_url_ecrire($ret, $gra, true, true);
@@ -44,6 +48,12 @@  discard block
 block discarded – undo
44 48
 }
45 49
 
46 50
 // http://doc.spip.org/@redirige_action_post
51
+/**
52
+ * @param string $action
53
+ * @param string $arg
54
+ * @param string $ret
55
+ * @param string $gra
56
+ */
47 57
 function redirige_action_post($action, $arg, $ret, $gra, $corps, $att = ''){
48 58
 	$r = _DIR_RESTREINT.generer_url_ecrire($ret, $gra, false, true);
49 59
 	return generer_action_auteur($action, $arg, $r, $corps, $att." method='post'");
Please login to merge, or discard this patch.
ecrire/inc/aider.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
 	return aider_icone($url);
93 93
 }
94 94
 
95
+/**
96
+ * @param null|string $url
97
+ */
95 98
 function aider_icone($url, $clic= '')
96 99
 {
97 100
 	global $spip_lang, $spip_lang_rtl;
@@ -118,6 +121,9 @@  discard block
 block discarded – undo
118 121
 // Les sections d'un fichier aide sont reperees ainsi:
119 122
 define('_SECTIONS_AIDE', ',<h([12])(?:\s+class="spip")?'. '>([^/]+?)(?:/(.+?))?</h\1>,ism');
120 123
 
124
+/**
125
+ * @param string $path
126
+ */
121 127
 function aide_fichier($path, $help_server) {
122 128
 
123 129
 	$md5 = md5(serialize($help_server));
Please login to merge, or discard this patch.
ecrire/inc/auth.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -448,6 +448,10 @@
 block discarded – undo
448 448
 	return $securiser_action('auth', "$auth_methode/$login", $redirect, true);
449 449
 }
450 450
 
451
+/**
452
+ * @param string $auth_methode
453
+ * @param string $login
454
+ */
451 455
 function auth_terminer_identifier_login($auth_methode, $login, $serveur=''){
452 456
 	$args = func_get_args();
453 457
 	$auteur = auth_administrer('terminer_identifier_login',$args);
Please login to merge, or discard this patch.
ecrire/inc/bandeau.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -132,9 +132,6 @@
 block discarded – undo
132 132
 /**
133 133
  * Construire tout le bandeau superieur de l'espace prive
134 134
  *
135
- * @param unknown_type $rubrique
136
- * @param unknown_type $sous_rubrique
137
- * @param unknown_type $largeur
138 135
  * @return unknown
139 136
  */
140 137
 function inc_bandeau_dist() {
Please login to merge, or discard this patch.
ecrire/inc/boutons.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -73,6 +73,10 @@
 block discarded – undo
73 73
 
74 74
 
75 75
 // http://doc.spip.org/@barre_onglets
76
+/**
77
+ * @param string $rubrique
78
+ * @param string $ongletCourant
79
+ */
76 80
 function barre_onglets($rubrique, $ongletCourant, $class="barre_onglet"){
77 81
 	include_spip('inc/presentation');
78 82
 
Please login to merge, or discard this patch.
ecrire/inc/chercher_rubrique.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -62,6 +62,11 @@  discard block
 block discarded – undo
62 62
 }
63 63
 
64 64
 // http://doc.spip.org/@sous_menu_rubriques
65
+/**
66
+ * @param integer $root
67
+ * @param integer $niv
68
+ * @param integer $exclus
69
+ */
65 70
 function sous_menu_rubriques($id_rubrique, $root, $niv, &$data, &$enfants, $exclus, $restreint, $type) {
66 71
 	static $decalage_secteur;
67 72
 
@@ -206,6 +211,12 @@  discard block
 block discarded – undo
206 211
 // getElement en mode Ajax est trop couteux).
207 212
 
208 213
 // http://doc.spip.org/@construire_selecteur
214
+/**
215
+ * @param string $url
216
+ * @param string $js
217
+ * @param string $idom
218
+ * @param string $name
219
+ */
209 220
 function construire_selecteur($url, $js, $idom, $name, $init='', $id=0)
210 221
 {
211 222
 	$icone = (strpos($idom, 'auteur')!==false) ? 'auteur-24.png' : 'rechercher-20.png';
Please login to merge, or discard this patch.
ecrire/inc/config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
  * @param string $cfg
136 136
  * @param mixed $def
137 137
  * @param bool $unserialize
138
- * @return mixed
138
+ * @return string
139 139
  */
140 140
 function lire_config_metapack_dist($cfg='', $def=null, $unserialize=true) {
141 141
 	return lire_config($cfg, $def, $unserialize);
Please login to merge, or discard this patch.