@@ -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'; |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | // http://doc.spip.org/@exec_dater_args |
| 22 | +/** |
|
| 23 | + * @param integer $id |
|
| 24 | + */ |
|
| 22 | 25 | function exec_dater_args($id, $type, $script) |
| 23 | 26 | { |
| 24 | 27 | if (!$id OR !autoriser('voir',$type,$id)) { |
@@ -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(); |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | // http://doc.spip.org/@exec_documenter_args |
| 27 | +/** |
|
| 28 | + * @param integer $id |
|
| 29 | + */ |
|
| 27 | 30 | function exec_documenter_args($id, $type, $script, $album='', $iframe=false) |
| 28 | 31 | { |
| 29 | 32 | if (!$id OR !autoriser('modifier', $type, $id) OR !preg_match('/^\w*$/', $script)) { |
@@ -21,6 +21,9 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | // http://doc.spip.org/@exec_documents_colonne_args |
| 24 | +/** |
|
| 25 | + * @param integer $id |
|
| 26 | + */ |
|
| 24 | 27 | function exec_documents_colonne_args($id, $type, $show) |
| 25 | 28 | { |
| 26 | 29 | if (!$type OR !autoriser('joindredocument', $type, $id)) { |
@@ -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=""; |
@@ -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"); |