modules/Calendar/CalendarDisplay.php
\CalendarDisplay
Package:
Properties

$activity_colors= 'array(
'Meetings' => array(
'border' => '#1C5FBD',
'body' => '#D2E5FC',
),
'Calls' => array(
'border' => '#DE4040',
'body' => '#FCDCDC',
),
'Tasks' => array(
'border' => '#015900',
'body' => '#B1F5AE',
),
)'
colors of items on calendar
Default value
array(
'Meetings' => array(
'border' => '#1C5FBD',
'body' => '#D2E5FC',
),
'Calls' => array(
'border' => '#DE4040',
'body' => '#FCDCDC',
),
'Tasks' => array(
'border' => '#015900',
'body' => '#B1F5AE',
),
)Details- Type
- n/a
Methods

__construct(
\Calendar $cal, string $dashlet_id
=
""
)
:
voidconstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $cal | \Calendar | |
| $dashlet_id | string | for dashlet mode |

display_calendar_header(
boolean $controls
=
true
)
:
voiddisplay header
Parameters
| Name | Type | Description |
|---|---|---|
| $controls | boolean | display ui contol itmes |

get_date_info(
$view, $date_time
)
:
stringGet date info string (legacy from old calendar)
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $view | ||
| $date_time |
| Type | Description |
|---|---|
| string |