Completed
Push — spip-3.0 ( 300bac...77f3d0 )
by cam
08:54
created
ecrire/maj/svn10000.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -346,6 +346,9 @@
 block discarded – undo
346 346
 		}
347 347
 	}
348 348
 }
349
+/**
350
+ * @param string $table
351
+ */
349 352
 function maj_liens_insertq_multi_check($table,$couples,$desc=array()){
350 353
 	$n_before = sql_countsel($table);
351 354
 	sql_insertq_multi($table,$couples,$desc);
Please login to merge, or discard this patch.
ecrire/plugins/infos_plugin.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,6 @@
 block discarded – undo
116 116
  * - 'nom' (= id)
117 117
  * - 'compatibilite' (= version)
118 118
  *
119
- * @param array $utilise
120
- * 		Liste des necessite trouvés pour le plugin
121 119
  * @return array
122 120
  * 		Liste des necessite modifiés.
123 121
  */
Please login to merge, or discard this patch.
ecrire/public/compiler.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
 
58 58
 
59 59
 // http://doc.spip.org/@argumenter_inclure
60
+/**
61
+ * @param boolean $rejet_filtres
62
+ */
60 63
 function argumenter_inclure($params, $rejet_filtres, $p, &$boucles, $id_boucle, $echap=true, $lang = '', $fond1=false){
61 64
 	$l = array();
62 65
 	$erreur_p_i_i = '';
@@ -665,6 +668,9 @@  discard block
 block discarded – undo
665 668
 }
666 669
 
667 670
 // http://doc.spip.org/@calculer_dec
671
+/**
672
+ * @param string $nom
673
+ */
668 674
 function calculer_dec($nom, $val)
669 675
 {
670 676
 	$static = 'if (!isset($command[\''.$nom.'\'])) ';
@@ -712,6 +718,9 @@  discard block
 block discarded – undo
712 718
 }
713 719
 
714 720
 // http://doc.spip.org/@calculer_from
721
+/**
722
+ * @param Boucle $boucle
723
+ */
715 724
 function calculer_from(&$boucle)
716 725
 {
717 726
   $res = "";
@@ -783,6 +792,9 @@  discard block
 block discarded – undo
783 792
 define('_REGEXP_CONCAT_NON_VIDE', "/^(.*)[.]\s*'[^']+'\s*$/");
784 793
 
785 794
 // http://doc.spip.org/@compile_cas
795
+/**
796
+ * @param string $id_boucle
797
+ */
786 798
 function compile_cas($tableau, $descr, &$boucles, $id_boucle) {
787 799
 
788 800
         $codes = array();
@@ -960,6 +972,9 @@  discard block
 block discarded – undo
960 972
 // de meme si EXP est de la forme (t ? '' : 'C')
961 973
 
962 974
 // http://doc.spip.org/@compile_retour
975
+/**
976
+ * @param string $tab
977
+ */
963 978
 function compile_retour($code, $avant, $apres, $altern, $tab, $n)
964 979
 {
965 980
 	if ($avant == "''") $avant = '';
Please login to merge, or discard this patch.
ecrire/public/criteres.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -788,6 +788,9 @@  discard block
 block discarded – undo
788 788
 // Code specifique aux criteres {pagination}, {1,n} {n/m} etc
789 789
 //
790 790
 
791
+/**
792
+ * @param string $mode
793
+ */
791 794
 function calculer_parties(&$boucles, $id_boucle, $debut, $mode){
792 795
 	$total_parties = $boucles[$id_boucle]->total_parties;
793 796
 
@@ -978,6 +981,9 @@  discard block
 block discarded – undo
978 981
 }
979 982
 
980 983
 // http://doc.spip.org/@critere_IN_cas
984
+/**
985
+ * @param string $crit2
986
+ */
981 987
 function critere_IN_cas($idb, &$boucles, $crit2, $arg, $op, $val, $col){
982 988
 	static $num = array();
983 989
 	$descr = $boucles[$idb]->descr;
@@ -1473,6 +1479,9 @@  discard block
 block discarded – undo
1473 1479
 
1474 1480
 
1475 1481
 // http://doc.spip.org/@trouver_champ
1482
+/**
1483
+ * @param string $champ
1484
+ */
1476 1485
 function trouver_champ($champ, $where){
1477 1486
 	if (!is_array($where))
1478 1487
 		return preg_match($champ, $where);
@@ -1680,6 +1689,10 @@  discard block
 block discarded – undo
1680 1689
 }
1681 1690
 
1682 1691
 // http://doc.spip.org/@calculer_param_date
1692
+/**
1693
+ * @param string $date_compare
1694
+ * @param string $date_orig
1695
+ */
1683 1696
 function calculer_param_date($date_compare, $date_orig){
1684 1697
 	if (preg_match(",'\" *\.(.*)\. *\"',", $date_compare, $r)){
1685 1698
 		$init = "'\" . (\$x = $r[1]) . \"'";
Please login to merge, or discard this patch.
ecrire/public/debusquer.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -374,6 +374,10 @@  discard block
 block discarded – undo
374 374
 }
375 375
 
376 376
 // http://doc.spip.org/@reference_boucle_debug
377
+/**
378
+ * @param string $nom
379
+ * @param string $self
380
+ */
377 381
 function reference_boucle_debug($n, $nom, $self){
378 382
 	list($skel, $boucle, $ligne) = trouve_boucle_debug($n, $nom);
379 383
 
@@ -459,6 +463,9 @@  discard block
 block discarded – undo
459 463
 
460 464
 // l'environnement graphique du debuggueur 
461 465
 
466
+/**
467
+ * @param null|string $self
468
+ */
462 469
 function debusquer_squelette($fonc, $mode, $self){
463 470
 	global $debug_objets;
464 471
 
@@ -745,6 +752,9 @@  discard block
 block discarded – undo
745 752
 }
746 753
 
747 754
 // http://doc.spip.org/@debusquer_entete
755
+/**
756
+ * @param string $corps
757
+ */
748 758
 function debusquer_entete($titre, $corps){
749 759
 	global $debug_objets;
750 760
 	include_spip('balise/formulaire_admin');
Please login to merge, or discard this patch.
ecrire/public/references.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -130,6 +130,10 @@  discard block
 block discarded – undo
130 130
 }
131 131
 
132 132
 // http://doc.spip.org/@index_tables_en_pile
133
+/**
134
+ * @param string $nom_champ
135
+ * @param boolean $joker
136
+ */
133 137
 function index_tables_en_pile($idb, $nom_champ, &$boucles, &$joker) {
134 138
 	global $exceptions_des_tables;
135 139
 
@@ -568,6 +572,9 @@  discard block
 block discarded – undo
568 572
 
569 573
 // Filtres et,ou,oui,non,sinon,xou,xor,and,or,not,yes
570 574
 // et comparateurs
575
+/**
576
+ * @param string $arg
577
+ */
571 578
 function filtre_logique($fonc, $code, $arg)
572 579
 {
573 580
 	global $table_criteres_infixes;
@@ -591,6 +598,9 @@  discard block
 block discarded – undo
591 598
 }
592 599
 
593 600
 // http://doc.spip.org/@compose_filtres_args
601
+/**
602
+ * @param string $sep
603
+ */
594 604
 function compose_filtres_args($p, $args, $sep)
595 605
 {
596 606
 	$arglist = "";
@@ -607,6 +617,9 @@  discard block
 block discarded – undo
607 617
 // ET chez sa maman
608 618
 // 
609 619
 // http://doc.spip.org/@calculer_argument_precedent
620
+/**
621
+ * @param string $defaut
622
+ */
610 623
 function calculer_argument_precedent($idb, $nom_champ, &$boucles, $defaut=null) {
611 624
 
612 625
 	// si recursif, forcer l'extraction du champ SQL mais ignorer le code
@@ -631,6 +644,10 @@  discard block
 block discarded – undo
631 644
 //
632 645
 
633 646
 // http://doc.spip.org/@rindex_pile
647
+/**
648
+ * @param string $champ
649
+ * @param string $motif
650
+ */
634 651
 function rindex_pile($p, $champ, $motif) 
635 652
 {
636 653
 	$n = 0;
Please login to merge, or discard this patch.
ecrire/public/sandbox.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,8 +20,6 @@  discard block
 block discarded – undo
20 20
  * dans les squelette
21 21
  *
22 22
  * @param string $texte
23
- * @param string $code
24
- * @param string $arglist
25 23
  * @param Object $p
26 24
  * @return string
27 25
  */
@@ -85,7 +83,7 @@  discard block
 block discarded – undo
85 83
  * Composer le code d'inclusion PHP
86 84
  *
87 85
  * @param string $fichier
88
- * @param Object $p
86
+ * @param Inclure $p
89 87
  * @param array $_contexte
90 88
  * @return string
91 89
  */
Please login to merge, or discard this patch.
ecrire/public/styliser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
  * @param array $contexte
27 27
  * @param string $lang
28 28
  * @param string $connect
29
- * @param string $ext
30 29
  * @return array
31 30
  *
32 31
  * http://doc.spip.org/@public_styliser_dist
Please login to merge, or discard this patch.
ecrire/public/styliser_par_z.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
  * @param string $type
202 202
  * @param string $ext
203 203
  * @param bool $echafauder
204
- * @return mixed
204
+ * @return string|boolean
205 205
  */
206 206
 function z_contenu_disponible($prefix_path,$z_contenu,$type,$ext,$echafauder=true){
207 207
 	if ($d = z_trouver_bloc($prefix_path,$z_contenu,$type,$ext))
@@ -295,10 +295,8 @@  discard block
 block discarded – undo
295 295
  * tous les squelettes d'echafaudage du prive sont en fait explicites dans prive/echafaudage
296 296
  * on ne fait qu'un mini squelette d'inclusion pour reecrire les variables d'env
297 297
  *
298
- * @param string $type
299 298
  * @param string $table
300 299
  * @param string $table_sql
301
- * @param array $desc
302 300
  * @param string $ext
303 301
  * @return string
304 302
  */
Please login to merge, or discard this patch.