dolibarr  20.0.0-alpha
Functions
index.php File Reference

Dolibarr home page. More...

Go to the source code of this file.

Functions

 showWeather ($totallate, $text, $options, $morecss='')
 Show weather logo. More...
 
 getWeatherStatus ($totallate)
 get weather status for conf 'MAIN_METEO_LEVELx' More...
 

Detailed Description

Dolibarr home page.

Definition in file index.php.

Function Documentation

◆ getWeatherStatus()

getWeatherStatus (   $totallate)

get weather status for conf 'MAIN_METEO_LEVELx'

Parameters
int$totallateNb of element late
Returns
stdClass Return img tag of weather

Definition at line 827 of file index.php.

◆ showWeather()

showWeather (   $totallate,
  $text,
  $options,
  $morecss = '' 
)

Show weather logo.

Logo to show depends on $totallate and values for conf 'MAIN_METEO_LEVELx'

Parameters
int$totallateNb of element late
string$textText to show on logo
string$optionsMore parameters on img tag
string$morecssMore CSS
Returns
string Return img tag of weather

Definition at line 812 of file index.php.