Changeset 65699 in spip-zone


Ignore:
Timestamp:
Sep 9, 2012, 4:34:27 PM (8 years ago)
Author:
eric@…
Message:

Cohérence des prototypes

Location:
_plugins_/rainette/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/rainette/trunk/content/debug.html

    r65698 r65699  
    11[(#REM)
    22        Page de debug des fonctions meteo pour chaque service :
    3         - informations
     3        - Informations
    44        - Conditions
    55        - Previsions
  • _plugins_/rainette/trunk/services/weather.php

    r65696 r65699  
    5454 * @return array
    5555 */
    56 function weather_xml2previsions($xml){
     56function weather_xml2previsions($xml, $lieu) {
    5757        $tableau = array();
    5858        $n = spip_xml_match_nodes(",^dayf,",$xml,$previsions);
     
    108108
    109109
    110 function weather_xml2conditions($xml){
     110function weather_xml2conditions($xml, $lieu) {
    111111        $tableau = array();
    112112        $n = spip_xml_match_nodes(",^cc,",$xml,$conditions);
  • _plugins_/rainette/trunk/services/wunderground.php

    r65696 r65699  
    328328 * @return array
    329329 */
    330 function wunderground_xml2previsions($xml){
     330function wunderground_xml2previsions($xml, $lieu) {
    331331        include_spip('inc/xml');
    332332        $tableau = array();
     
    381381}
    382382
    383 function wunderground_xml2conditions($xml){
     383function wunderground_xml2conditions($xml, $lieu) {
    384384        $tableau = array();
    385385        include_spip('inc/rainette_utils');
     
    468468}
    469469
    470 function wunderground_xml2infos($xml){
     470function wunderground_xml2infos($xml, $lieu) {
    471471        $tableau = array();
    472472
  • _plugins_/rainette/trunk/services/wwo.php

    r65696 r65699  
    110110 * @return array
    111111 */
    112 function wwo_xml2previsions($xml){
     112function wwo_xml2previsions($xml, $lieu) {
    113113        include_spip('inc/xml');
    114114        $tableau = array();
     
    163163}
    164164
    165 function wwo_xml2conditions($xml){
     165function wwo_xml2conditions($xml, $lieu) {
    166166        $tableau = array();
    167167
Note: See TracChangeset for help on using the changeset viewer.