@@ -20,6 +20,9 @@ |
||
| 20 | 20 | exec_calendrier_args(agenda_controle(), _request('type'), _request('echelle'), _request('partie_cal')); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | +/** |
|
| 24 | + * @param integer $time |
|
| 25 | + */ |
|
| 23 | 26 | function exec_calendrier_args($time, $type, $echelle, $partie_cal) |
| 24 | 27 | { |
| 25 | 28 | if ($time < 0) $time = time(); |
@@ -194,6 +194,12 @@ discard block |
||
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | // http://doc.spip.org/@exec_controle_forum_args |
| 197 | +/** |
|
| 198 | + * @param integer $id_rubrique |
|
| 199 | + * @param integer $debut |
|
| 200 | + * @param integer $pas |
|
| 201 | + * @param integer $enplus |
|
| 202 | + */ |
|
| 197 | 203 | function exec_controle_forum_args($id_rubrique, $type, $debut, $pas, $enplus, $recherche) |
| 198 | 204 | { |
| 199 | 205 | if (!autoriser('publierdans','rubrique',$id_rubrique)) { |
@@ -208,6 +214,10 @@ discard block |
||
| 208 | 214 | } |
| 209 | 215 | } |
| 210 | 216 | |
| 217 | +/** |
|
| 218 | + * @param string $from |
|
| 219 | + * @param integer $debut_id_forum |
|
| 220 | + */ |
|
| 211 | 221 | function exec_controle_forum_args2($id_rubrique, $type, $debut, $pas, $enplus, $recherche, $from, $where, $debut_id_forum) |
| 212 | 222 | { |
| 213 | 223 | // Si un id_controle_forum est demande, on adapte le debut |
@@ -26,6 +26,12 @@ discard block |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | // http://doc.spip.org/@exec_controle_petition_args |
| 29 | +/** |
|
| 30 | + * @param integer $id_article |
|
| 31 | + * @param integer $debut |
|
| 32 | + * @param integer $id_signature |
|
| 33 | + * @param integer $pas |
|
| 34 | + */ |
|
| 29 | 35 | function exec_controle_petition_args($id_article, $type, $date, $debut, $id_signature, $pas=NULL) |
| 30 | 36 | { |
| 31 | 37 | if ($id_signature) { |
@@ -41,6 +47,9 @@ discard block |
||
| 41 | 47 | } else controle_petition_args($id_article, $type, $date, $debut, $titre, $where, $pas, $id_signature); |
| 42 | 48 | } |
| 43 | 49 | |
| 50 | +/** |
|
| 51 | + * @param string $where |
|
| 52 | + */ |
|
| 44 | 53 | function controle_petition_args($id_article, $type, $date, $debut, $titre, $where, $pas, $id_signature=0) |
| 45 | 54 | { |
| 46 | 55 | if (!preg_match('/^\w+$/',$type)) $type = 'public'; |
@@ -39,6 +39,9 @@ |
||
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | +/** |
|
| 43 | + * @param string $name |
|
| 44 | + */ |
|
| 42 | 45 | function liste_tables_en_base($name) |
| 43 | 46 | { |
| 44 | 47 | $res = sql_alltable(); |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | // http://doc.spip.org/@exec_editer_mots_args |
| 23 | +/** |
|
| 24 | + * @param integer $id_objet |
|
| 25 | + */ |
|
| 23 | 26 | function exec_editer_mots_args($id_objet, $objet) |
| 24 | 27 | { |
| 25 | 28 | $base=""; |
@@ -40,6 +40,9 @@ discard block |
||
| 40 | 40 | preg_replace('@[^\d\w-_]@', '_', _request('save'))); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | +/** |
|
| 44 | + * @param integer $rub |
|
| 45 | + */ |
|
| 43 | 46 | function exec_export_all_init($rub, $gz, $tables, $serveur='', $save=''){ |
| 44 | 47 | $meta = base_dump_meta_name($rub); |
| 45 | 48 | utiliser_langue_visiteur(); |
@@ -80,6 +83,10 @@ discard block |
||
| 80 | 83 | |
| 81 | 84 | // Ici on construit la liste des tables pour confirmation. |
| 82 | 85 | |
| 86 | +/** |
|
| 87 | + * @param string $meta |
|
| 88 | + * @param string $archive |
|
| 89 | + */ |
|
| 83 | 90 | function export_all_start($meta, $archive, $rub, $tables){ |
| 84 | 91 | |
| 85 | 92 | // si pas de tables listees en post, utiliser la liste par defaut |
@@ -21,6 +21,9 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | // http://doc.spip.org/@forum_affiche |
| 24 | +/** |
|
| 25 | + * @param integer $debut |
|
| 26 | + */ |
|
| 24 | 27 | function forum_affiche($debut, $admin=false) |
| 25 | 28 | { |
| 26 | 29 | pipeline('exec_init',array('args'=>array('exec'=>'forum'),'data'=>'')); |
@@ -21,6 +21,9 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | // http://doc.spip.org/@exec_grouper_mots_args |
| 24 | +/** |
|
| 25 | + * @param integer $id_groupe |
|
| 26 | + */ |
|
| 24 | 27 | function exec_grouper_mots_args($id_groupe) |
| 25 | 28 | { |
| 26 | 29 | $cpt = sql_countsel("spip_mots", "id_groupe=$id_groupe"); |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | // http://doc.spip.org/@exec_meme_rubrique_args |
| 22 | +/** |
|
| 23 | + * @param integer $id |
|
| 24 | + */ |
|
| 22 | 25 | function exec_meme_rubrique_args($id, $type, $order) |
| 23 | 26 | { |
| 24 | 27 | if ((!autoriser('publierdans','rubrique',$id)) |