dolibarr
x.y.z
|
Home page of calendar events. More...
Go to the source code of this file.
Functions | |
show_day_events ($db, $day, $month, $year, $monthshown, $style, &$eventarray, $maxprint=0, $maxnbofchar=16, $newparam='', $showinfo=0, $minheight=60, $nonew=0) | |
Show event of a particular day. More... | |
dol_color_minus ($color, $minus, $minusunit=16) | |
Change color with a delta. More... | |
sort_events_by_date ($a, $b) | |
Sort events by date. More... | |
sort_events_by_percentage ($a, $b) | |
Sort events by percentage. More... | |
Home page of calendar events.
Definition in file index.php.
dol_color_minus | ( | $color, | |
$minus, | |||
$minusunit = 16 |
|||
) |
show_day_events | ( | $db, | |
$day, | |||
$month, | |||
$year, | |||
$monthshown, | |||
$style, | |||
& | $eventarray, | ||
$maxprint = 0 , |
|||
$maxnbofchar = 16 , |
|||
$newparam = '' , |
|||
$showinfo = 0 , |
|||
$minheight = 60 , |
|||
$nonew = 0 |
|||
) |
Show event of a particular day.
DoliDB | $db | Database handler |
int | $day | Day |
int | $month | Month |
int | $year | Year |
int | $monthshown | Current month shown in calendar view |
string | $style | Style to use for this day |
array | $eventarray | Array of events |
int | $maxprint | Nb of actions to show each day on month view (0 means no limit) |
int | $maxnbofchar | Nb of characters to show for event line |
string | $newparam | Parameters on current URL |
int | $showinfo | Add extended information (used by day and week view) |
int | $minheight | Minimum height for each event. 60px by default. |
string | $nonew | 0=Add "new entry button", 1=No "new entry button", -1=Only "new entry button" |
sort_events_by_date | ( | $a, | |
$b | |||
) |