dolibarr 25.0.0-alpha
index.php File Reference

Home page of calendar events. More...

Go to the source code of this file.

Functions

 sort_events_by_date ($a, $b)
 Sort events by date.
 
 sort_events_by_percentage ($a, $b)
 Sort events by percentage.
 

Variables

 $cacheusers = array()
 
 $theme_datacolor
 

Detailed Description

Home page of calendar events.

Definition in file index.php.

Function Documentation

◆ sort_events_by_date()

sort_events_by_date ( $a,
$b )

Sort events by date.

Parameters
object$aEvent A
object$bEvent B
Returns
int Return integer < 0 if event A should be before event B, > 0 otherwise, 0 if they have the exact same time slot

Definition at line 1539 of file index.php.

References sort_events_by_percentage().

◆ sort_events_by_percentage()

sort_events_by_percentage ( $a,
$b )

Sort events by percentage.

Parameters
object$aEvent A
object$bEvent B
Returns
int Return integer < 0 if event A should be before event B, > 0 otherwise, 0 if they have the exact same percentage

Definition at line 1578 of file index.php.

Referenced by sort_events_by_date().

Variable Documentation

◆ $cacheusers

$cacheusers = array()

Definition at line 1215 of file index.php.

Referenced by FormActions\showactions().

◆ $theme_datacolor

$theme_datacolor
Initial value:
= array(
array(137, 86, 161),
array(60, 147, 183),
array(250, 190, 80),
array(80, 166, 90),
array(190, 190, 100),
array(91, 115, 247),
array(140, 140, 220),
array(190, 120, 120),
array(115, 125, 150),
array(100, 170, 20),
array(150, 135, 125),
array(85, 135, 150),
array(150, 135, 80),
array(150, 80, 150)
)

Definition at line 1217 of file index.php.

Referenced by DolGraph\__construct(), DolGraph\draw_chart(), and box_graph_nb_tickets_type\loadBox().