@@ -16,6 +16,9 @@ discard block |
||
| 16 | 16 | include_spip('xml/interfaces'); |
| 17 | 17 | |
| 18 | 18 | // http://doc.spip.org/@xml_debutElement |
| 19 | +/** |
|
| 20 | + * @param IndenteurXML $phraseur |
|
| 21 | + */ |
|
| 19 | 22 | function xml_debutElement($phraseur, $name, $attrs) |
| 20 | 23 | { |
| 21 | 24 | $depth = $phraseur->depth; |
@@ -48,6 +51,9 @@ discard block |
||
| 48 | 51 | } |
| 49 | 52 | |
| 50 | 53 | // http://doc.spip.org/@xml_finElement |
| 54 | +/** |
|
| 55 | + * @param IndenteurXML $phraseur |
|
| 56 | + */ |
|
| 51 | 57 | function xml_finElement($phraseur, $name, $fusion_bal=false) |
| 52 | 58 | { |
| 53 | 59 | $ouv = $phraseur->ouvrant[$phraseur->depth]; |
@@ -72,6 +78,9 @@ discard block |
||
| 72 | 78 | } |
| 73 | 79 | |
| 74 | 80 | // http://doc.spip.org/@xml_textElement |
| 81 | +/** |
|
| 82 | + * @param IndenteurXML $phraseur |
|
| 83 | + */ |
|
| 75 | 84 | function xml_textElement($phraseur, $data) |
| 76 | 85 | { |
| 77 | 86 | $depth = $phraseur->depth; |
@@ -80,6 +89,9 @@ discard block |
||
| 80 | 89 | : htmlspecialchars($data,ENT_QUOTES); |
| 81 | 90 | } |
| 82 | 91 | |
| 92 | +/** |
|
| 93 | + * @param IndenteurXML $phraseur |
|
| 94 | + */ |
|
| 83 | 95 | function xml_piElement($phraseur, $target, $data) |
| 84 | 96 | { |
| 85 | 97 | $depth = $phraseur->depth; |
@@ -97,6 +109,9 @@ discard block |
||
| 97 | 109 | |
| 98 | 110 | |
| 99 | 111 | // http://doc.spip.org/@xml_defautElement |
| 112 | +/** |
|
| 113 | + * @param IndenteurXML $phraseur |
|
| 114 | + */ |
|
| 100 | 115 | function xml_defaultElement($phraseur, $data) |
| 101 | 116 | { |
| 102 | 117 | $depth = $phraseur->depth; |
@@ -128,6 +143,9 @@ discard block |
||
| 128 | 143 | } |
| 129 | 144 | |
| 130 | 145 | // http://doc.spip.org/@coordonnees_erreur |
| 146 | +/** |
|
| 147 | + * @param string $msg |
|
| 148 | + */ |
|
| 131 | 149 | function coordonnees_erreur($phraseur, $msg) |
| 132 | 150 | { |
| 133 | 151 | $entete_length = substr_count($phraseur->entete,"\n"); |
@@ -96,6 +96,12 @@ |
||
| 96 | 96 | |
| 97 | 97 | |
| 98 | 98 | // http://doc.spip.org/@ajouter_nouveau_mot |
| 99 | +/** |
|
| 100 | + * @param integer $id_groupe |
|
| 101 | + * @param string $table |
|
| 102 | + * @param integer $table_id |
|
| 103 | + * @param integer $id |
|
| 104 | + */ |
|
| 99 | 105 | function ajouter_nouveau_mot($id_groupe, $table, $table_id, $id_mot, $id) |
| 100 | 106 | { |
| 101 | 107 | if (un_seul_mot_dans_groupe($id_groupe)) { |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | |
| 15 | 15 | include_spip('base/abstract_sql'); |
| 16 | 16 | |
| 17 | +/** |
|
| 18 | + * @param string $cible |
|
| 19 | + */ |
|
| 17 | 20 | function is_url_prive($cible){ |
| 18 | 21 | include_spip('inc/filtres_mini'); |
| 19 | 22 | $path = parse_url(tester_url_absolue($cible)?$cible:url_absolue($cible)); |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | // http://doc.spip.org/@message_oubli |
| 22 | +/** |
|
| 23 | + * @param string $param |
|
| 24 | + */ |
|
| 22 | 25 | function message_oubli($email, $param) |
| 23 | 26 | { |
| 24 | 27 | $r = formulaires_oubli_mail($email); |
@@ -361,6 +361,9 @@ |
||
| 361 | 361 | // De plus, ca supprime les doublons "en attente de validation". |
| 362 | 362 | |
| 363 | 363 | // http://doc.spip.org/@signature_entrop |
| 364 | +/** |
|
| 365 | + * @param string $where |
|
| 366 | + */ |
|
| 364 | 367 | function signature_entrop($where) |
| 365 | 368 | { |
| 366 | 369 | $query = sql_select('id_signature, statut', 'spip_signatures', $where,'',"date_time desc"); |