@@ -22,6 +22,11 @@ |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | // http://doc.spip.org/@exec_rubriques_edit_args |
| 25 | +/** |
|
| 26 | + * @param integer $id_rubrique |
|
| 27 | + * @param integer $id_parent |
|
| 28 | + * @param integer $lier_trad |
|
| 29 | + */ |
|
| 25 | 30 | function exec_rubriques_edit_args($id_rubrique, $id_parent, $new, $lier_trad) |
| 26 | 31 | { |
| 27 | 32 | global $connect_toutes_rubriques, $connect_statut, $spip_lang_right; |
@@ -22,6 +22,9 @@ |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | // http://doc.spip.org/@exec_sites_args |
| 25 | +/** |
|
| 26 | + * @param integer $id_syndic |
|
| 27 | + */ |
|
| 25 | 28 | function exec_sites_args($id_syndic) |
| 26 | 29 | { |
| 27 | 30 | if (!autoriser('voir','site',$id_syndic) |
@@ -15,6 +15,10 @@ discard block |
||
| 15 | 15 | include_spip('inc/presentation'); |
| 16 | 16 | |
| 17 | 17 | // http://doc.spip.org/@enfants |
| 18 | +/** |
|
| 19 | + * @param integer $id_parent |
|
| 20 | + * @param string $critere |
|
| 21 | + */ |
|
| 18 | 22 | function enfants($id_parent, $critere){ |
| 19 | 23 | global $nombre_vis, $nombre_abs; |
| 20 | 24 | |
@@ -37,6 +41,11 @@ discard block |
||
| 37 | 41 | |
| 38 | 42 | |
| 39 | 43 | // http://doc.spip.org/@enfants_aff |
| 44 | +/** |
|
| 45 | + * @param integer $id_parent |
|
| 46 | + * @param integer $decalage |
|
| 47 | + * @param string $critere |
|
| 48 | + */ |
|
| 40 | 49 | function enfants_aff($id_parent,$decalage, $critere, $gauche=0) { |
| 41 | 50 | |
| 42 | 51 | global $niveau; |
@@ -42,6 +42,12 @@ |
||
| 42 | 42 | |
| 43 | 43 | |
| 44 | 44 | // http://doc.spip.org/@exec_statistiques_visites_args |
| 45 | +/** |
|
| 46 | + * @param integer $id_article |
|
| 47 | + * @param integer $duree |
|
| 48 | + * @param integer $interval |
|
| 49 | + * @param integer $limit |
|
| 50 | + */ |
|
| 45 | 51 | function exec_statistiques_visites_args($id_article, $duree, $interval, $type, $limit,$serveur='') |
| 46 | 52 | { |
| 47 | 53 | $titre = $pourarticle = ""; |
@@ -16,6 +16,10 @@ |
||
| 16 | 16 | include_spip('inc/acces'); // pour low_sec (iCal) |
| 17 | 17 | |
| 18 | 18 | // http://doc.spip.org/@afficher_liens_calendrier |
| 19 | +/** |
|
| 20 | + * @param string $lien |
|
| 21 | + * @param string $icone |
|
| 22 | + */ |
|
| 19 | 23 | function afficher_liens_calendrier($lien, $icone, $texte) { |
| 20 | 24 | |
| 21 | 25 | global $spip_display; |
@@ -19,6 +19,10 @@ |
||
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | // http://doc.spip.org/@exec_tourner_args |
| 22 | +/** |
|
| 23 | + * @param integer $id_document |
|
| 24 | + * @param integer $id |
|
| 25 | + */ |
|
| 22 | 26 | function exec_tourner_args($id_document, $type, $id) |
| 23 | 27 | { |
| 24 | 28 | if (!$id_document OR !($type == 'article' |
@@ -33,6 +33,9 @@ discard block |
||
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | // http://doc.spip.org/@valider_xml_ok |
| 36 | +/** |
|
| 37 | + * @param integer $limit |
|
| 38 | + */ |
|
| 36 | 39 | function valider_xml_ok($url, $req_ext, $limit, $rec) |
| 37 | 40 | { |
| 38 | 41 | $url = urldecode(trim($url)); |
@@ -122,6 +125,9 @@ discard block |
||
| 122 | 125 | } |
| 123 | 126 | |
| 124 | 127 | // http://doc.spip.org/@valider_resultats |
| 128 | +/** |
|
| 129 | + * @param boolean $mode |
|
| 130 | + */ |
|
| 125 | 131 | function valider_resultats($res, $mode) |
| 126 | 132 | { |
| 127 | 133 | $i = $j = $k = 0; |
@@ -203,6 +209,10 @@ discard block |
||
| 203 | 209 | } |
| 204 | 210 | |
| 205 | 211 | // http://doc.spip.org/@valider_pseudo_url |
| 212 | +/** |
|
| 213 | + * @param string $dir |
|
| 214 | + * @param string $script |
|
| 215 | + */ |
|
| 206 | 216 | function valider_pseudo_url($dir, $script, $args='') |
| 207 | 217 | { |
| 208 | 218 | return ($dir == 'exec') |
@@ -289,6 +299,9 @@ discard block |
||
| 289 | 299 | } |
| 290 | 300 | |
| 291 | 301 | // http://doc.spip.org/@valider_dir |
| 302 | +/** |
|
| 303 | + * @param string $dir |
|
| 304 | + */ |
|
| 292 | 305 | function valider_dir($files, $ext, $dir) |
| 293 | 306 | { |
| 294 | 307 | $res = array(); |
@@ -34,6 +34,10 @@ discard block |
||
| 34 | 34 | define('_VERSIONS_SERVEUR', 'http://files.spip.org/'); |
| 35 | 35 | define('_VERSIONS_LISTE', 'archives.xml'); |
| 36 | 36 | |
| 37 | +/** |
|
| 38 | + * @param string $dir |
|
| 39 | + * @param string $file |
|
| 40 | + */ |
|
| 37 | 41 | function info_maj ($dir, $file, $version){ |
| 38 | 42 | include_spip('inc/plugin'); |
| 39 | 43 | |
@@ -67,6 +71,11 @@ discard block |
||
| 67 | 71 | // on teste la nouveaute par If-Modified-Since, |
| 68 | 72 | // et seulement quand celui-ci a change' pour limiter les acces HTTP |
| 69 | 73 | |
| 74 | +/** |
|
| 75 | + * @param string $nom |
|
| 76 | + * |
|
| 77 | + * @return string |
|
| 78 | + */ |
|
| 70 | 79 | function info_maj_cache($nom, $dir, $page='') |
| 71 | 80 | { |
| 72 | 81 | $re = '<archives id="a' . $GLOBALS['meta']["alea_ephemere"] . '">'; |
@@ -65,6 +65,10 @@ |
||
| 65 | 65 | // L'index du SELECT doit s'appeler "id" |
| 66 | 66 | |
| 67 | 67 | // http://doc.spip.org/@optimiser_sansref |
| 68 | +/** |
|
| 69 | + * @param string $table |
|
| 70 | + * @param string $id |
|
| 71 | + */ |
|
| 68 | 72 | function optimiser_sansref($table, $id, $sel) |
| 69 | 73 | { |
| 70 | 74 | $in = array(); |