@@ -22,6 +22,9 @@ discard block |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | // http://doc.spip.org/@exec_articles_args |
| 25 | +/** |
|
| 26 | + * @param integer $id_article |
|
| 27 | + */ |
|
| 25 | 28 | function exec_articles_args($id_article) |
| 26 | 29 | { |
| 27 | 30 | pipeline('exec_init',array('args'=>array('exec'=>'articles','id_article'=>$id_article),'data'=>'')); |
@@ -210,6 +213,9 @@ discard block |
||
| 210 | 213 | } |
| 211 | 214 | |
| 212 | 215 | // http://doc.spip.org/@boite_article_virtuel |
| 216 | +/** |
|
| 217 | + * @param string $virtuel |
|
| 218 | + */ |
|
| 213 | 219 | function boite_article_virtuel($id_article, $virtuel) |
| 214 | 220 | { |
| 215 | 221 | if (!$virtuel |
@@ -231,6 +237,10 @@ discard block |
||
| 231 | 237 | } |
| 232 | 238 | |
| 233 | 239 | // http://doc.spip.org/@bouton_modifier_articles |
| 240 | +/** |
|
| 241 | + * @param string $ip |
|
| 242 | + * @param string $im |
|
| 243 | + */ |
|
| 234 | 244 | function bouton_modifier_articles($id_article, $id_rubrique, $flag_modif, $mode, $ip, $im, $align='') |
| 235 | 245 | { |
| 236 | 246 | if ($flag_modif) { |
@@ -242,6 +252,9 @@ discard block |
||
| 242 | 252 | } |
| 243 | 253 | |
| 244 | 254 | // http://doc.spip.org/@afficher_corps_articles |
| 255 | +/** |
|
| 256 | + * @param string $virtuel |
|
| 257 | + */ |
|
| 245 | 258 | function afficher_corps_articles($id_article, $virtuel, $row) |
| 246 | 259 | { |
| 247 | 260 | $res = ''; |
@@ -28,6 +28,12 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | // http://doc.spip.org/@exec_articles_edit_args |
| 31 | +/** |
|
| 32 | + * @param integer $id_rubrique |
|
| 33 | + * @param integer $lier_trad |
|
| 34 | + * @param integer $id_version |
|
| 35 | + * @param string $new |
|
| 36 | + */ |
|
| 31 | 37 | function exec_articles_edit_args($id_article, $id_rubrique, $lier_trad, $id_version, $new) |
| 32 | 38 | { |
| 33 | 39 | if (!$new AND (!autoriser('voir', 'article', $id_article) OR !autoriser('modifier','article', $id_article))) { |
@@ -46,6 +52,9 @@ discard block |
||
| 46 | 52 | } |
| 47 | 53 | |
| 48 | 54 | // http://doc.spip.org/@articles_edit |
| 55 | +/** |
|
| 56 | + * @param string $config_fonc |
|
| 57 | + */ |
|
| 49 | 58 | function articles_edit($id_article, $id_rubrique, $lier_trad, $id_version, $new, $config_fonc, $row) |
| 50 | 59 | { |
| 51 | 60 | $id_article = $row['id_article']; |
@@ -25,6 +25,12 @@ discard block |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | // http://doc.spip.org/@exec_articles_forum_args |
| 28 | +/** |
|
| 29 | + * @param integer $id_article |
|
| 30 | + * @param integer $debut |
|
| 31 | + * @param integer $pas |
|
| 32 | + * @param integer $enplus |
|
| 33 | + */ |
|
| 28 | 34 | function exec_articles_forum_args($id_article, $date, $debut, $pas, $enplus) |
| 29 | 35 | { |
| 30 | 36 | if (!autoriser('modererforum', 'article', $id_article)) { |
@@ -72,6 +78,9 @@ discard block |
||
| 72 | 78 | } |
| 73 | 79 | |
| 74 | 80 | // http://doc.spip.org/@articles_forum_cadres |
| 81 | +/** |
|
| 82 | + * @param string $script |
|
| 83 | + */ |
|
| 75 | 84 | function articles_forum_cadres($id_rubrique, $id_article, $titre, $script, $args, $row=array()) |
| 76 | 85 | { |
| 77 | 86 | global $spip_lang_right, $spip_lang_left; |
@@ -23,6 +23,9 @@ discard block |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | // http://doc.spip.org/@exec_articles_tous_args |
| 26 | +/** |
|
| 27 | + * @param integer $id_rubrique |
|
| 28 | + */ |
|
| 26 | 29 | function exec_articles_tous_args($id_rubrique, $aff_art, $sel_lang) |
| 27 | 30 | { |
| 28 | 31 | global $browser_layer,$spip_lang_right,$spip_lang_left; |
@@ -99,6 +102,10 @@ discard block |
||
| 99 | 102 | } |
| 100 | 103 | |
| 101 | 104 | // http://doc.spip.org/@texte_articles_tous |
| 105 | +/** |
|
| 106 | + * @param boolean $flag_trad |
|
| 107 | + * @param string $spip_lang_dir |
|
| 108 | + */ |
|
| 102 | 109 | function texte_articles_tous(&$sel_lang, $flag_trad, $aff_art,$spip_lang_dir){ |
| 103 | 110 | global $spip_lang; |
| 104 | 111 | |
@@ -167,6 +174,12 @@ discard block |
||
| 167 | 174 | // checkbox avec image |
| 168 | 175 | |
| 169 | 176 | // http://doc.spip.org/@http_label_img |
| 177 | +/** |
|
| 178 | + * @param string $statut |
|
| 179 | + * @param boolean $etat |
|
| 180 | + * @param string $var |
|
| 181 | + * @param string $img |
|
| 182 | + */ |
|
| 170 | 183 | function http_label_img($statut, $etat, $var, $img, $texte) { |
| 171 | 184 | return |
| 172 | 185 | "<label for='$statut'>" . |
@@ -285,6 +298,9 @@ discard block |
||
| 285 | 298 | } |
| 286 | 299 | |
| 287 | 300 | // http://doc.spip.org/@afficher_contenu_rubrique |
| 301 | +/** |
|
| 302 | + * @param integer $profondeur |
|
| 303 | + */ |
|
| 288 | 304 | function afficher_contenu_rubrique(&$article, &$enfant, &$text_article, $id_rubrique, $flag_trad, $profondeur){ |
| 289 | 305 | static $ajax_args=NULL; |
| 290 | 306 | $out = ""; |
@@ -21,6 +21,11 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | // http://doc.spip.org/@exec_articles_versions_args |
| 24 | +/** |
|
| 25 | + * @param integer $id_article |
|
| 26 | + * @param integer $id_version |
|
| 27 | + * @param integer $id_diff |
|
| 28 | + */ |
|
| 24 | 29 | function exec_articles_versions_args($id_article, $id_version, $id_diff) |
| 25 | 30 | { |
| 26 | 31 | global $spip_lang_left, $spip_lang_right; |
@@ -26,6 +26,9 @@ discard block |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | // http://doc.spip.org/@exec_auteur_infos_args |
| 29 | +/** |
|
| 30 | + * @param integer $id_auteur |
|
| 31 | + */ |
|
| 29 | 32 | function exec_auteur_infos_args($id_auteur, $nom, $new, $echec='', $redirect='') |
| 30 | 33 | { |
| 31 | 34 | global $connect_id_auteur; |
@@ -66,6 +69,10 @@ discard block |
||
| 66 | 69 | } |
| 67 | 70 | |
| 68 | 71 | // http://doc.spip.org/@auteur_infos_ok |
| 72 | +/** |
|
| 73 | + * @param string $echec |
|
| 74 | + * @param string $redirect |
|
| 75 | + */ |
|
| 69 | 76 | function auteur_infos_ok($auteur, $id_auteur, $echec, $new, $redirect) |
| 70 | 77 | { |
| 71 | 78 | $auteur_infos = charger_fonction('auteur_infos', 'inc'); |
@@ -49,6 +49,9 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | |
| 51 | 51 | // http://doc.spip.org/@exec_auteurs_args |
| 52 | +/** |
|
| 53 | + * @param integer $debut |
|
| 54 | + */ |
|
| 52 | 55 | function exec_auteurs_args($statut, $tri, $debut, $recherche=NULL, $trouve='', $cherche='') |
| 53 | 56 | { |
| 54 | 57 | if ($recherche !=='') { |
@@ -95,6 +98,9 @@ discard block |
||
| 95 | 98 | } |
| 96 | 99 | |
| 97 | 100 | // http://doc.spip.org/@bandeau_auteurs |
| 101 | +/** |
|
| 102 | + * @param boolean $visiteurs |
|
| 103 | + */ |
|
| 98 | 104 | function bandeau_auteurs($visiteurs) |
| 99 | 105 | { |
| 100 | 106 | global $connect_id_auteur; |
@@ -150,6 +156,9 @@ discard block |
||
| 150 | 156 | } |
| 151 | 157 | |
| 152 | 158 | // http://doc.spip.org/@lettres_d_auteurs |
| 159 | +/** |
|
| 160 | + * @param integer $max_par_page |
|
| 161 | + */ |
|
| 153 | 162 | function lettres_d_auteurs($query, $debut, $max_par_page, $tri) |
| 154 | 163 | { |
| 155 | 164 | $auteurs = $lettre = array(); |
@@ -178,6 +187,11 @@ discard block |
||
| 178 | 187 | } |
| 179 | 188 | |
| 180 | 189 | // http://doc.spip.org/@auteurs_tranches |
| 190 | +/** |
|
| 191 | + * @param string $auteurs |
|
| 192 | + * @param integer $max_par_page |
|
| 193 | + * @param integer $nombre_auteurs |
|
| 194 | + */ |
|
| 181 | 195 | function auteurs_tranches($auteurs, $debut, $lettre, $tri, $statut, $max_par_page, $nombre_auteurs, $arg='') |
| 182 | 196 | { |
| 183 | 197 | global $spip_lang_right; |
@@ -24,6 +24,10 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | // http://doc.spip.org/@exec_breves_edit_args |
| 27 | +/** |
|
| 28 | + * @param integer $id_breve |
|
| 29 | + * @param integer $id_rubrique |
|
| 30 | + */ |
|
| 27 | 31 | function exec_breves_edit_args($id_breve, $id_rubrique, $new) |
| 28 | 32 | { |
| 29 | 33 | global $connect_id_rubrique; |
@@ -23,6 +23,9 @@ |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | // http://doc.spip.org/@exec_breves_voir_args |
| 26 | +/** |
|
| 27 | + * @param integer $id_breve |
|
| 28 | + */ |
|
| 26 | 29 | function exec_breves_voir_args($id_breve, $cherche_mot, $select_groupe) |
| 27 | 30 | { |
| 28 | 31 | $row = sql_fetsel("*", "spip_breves", "id_breve=$id_breve"); |