|
dolibarr 20.0.5
|
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, $bookcalcalendarsarray=array()) | |
| Show event of a particular day. | |
| dol_color_minus ($color, $minus, $minusunit=16) | |
| Change color with a delta. | |
| sort_events_by_date ($a, $b) | |
| Sort events by date. | |
| sort_events_by_percentage ($a, $b) | |
| Sort events by percentage. | |
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, | |||
| $bookcalcalendarsarray = array() ) |
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. |
| int | $nonew | 0=Add "new entry button", 1=No "new entry button", -1=Only "new entry button" |
| array{}|array{0:array{0:int,1:int,2:int},1:array{0:int,1:int,2:int},2:array{0:int,1:int,2:int}} | $bookcalcalendarsarray Used for Bookcal module array of calendar of bookcal |
Definition at line 1807 of file index.php.
References dol_mktime(), position, and status.
| sort_events_by_date | ( | $a, | |
| $b ) |