modules/Calendar/CalendarDisplay.php

Show: inherited
Table of Contents

\CalendarDisplay

Package:

Properties

Propertypublic  $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 valuearray( 'Meetings' => array( 'border' => '#1C5FBD', 'body' => '#D2E5FC', ), 'Calls' => array( 'border' => '#DE4040', 'body' => '#FCDCDC', ), 'Tasks' => array( 'border' => '#015900', 'body' => '#B1F5AE', ), )Details
Type
n/a

Methods

methodpublic__construct( \Calendar $cal, string $dashlet_id = "" ) : void

constructor

Parameters
Name Type Description
$cal \Calendar
$dashlet_id string

for dashlet mode

methodpublicdisplay( ) : void

main displaying function of Calendar

methodpublicdisplay_calendar_footer( ) : void

display footer

methodpublicdisplay_calendar_header( boolean $controls = true ) : void

display header

Parameters
Name Type Description
$controls boolean

display ui contol itmes

methodpublicdisplay_shared_html( ) : void

display html used in shared view

methodpublicdisplay_title( ) : void

display title

methodpublicget_date_info(  $view,  $date_time ) : string

Get date info string (legacy from old calendar)

Parameters
Name Type Description
$view
$date_time
Returns
Type Description
string
methodprotectedget_next_calendar( ) : string

Get link to next date range

Returns
Type Description
string
methodprotectedget_previous_calendar( ) : string

Get link to previous date range

Returns
Type Description
string
methodprotectedload_settings_template(  $ss ) : void

load settings popup template

Parameters
Name Type Description
$ss
Documentation was generated by DocBlox 0.18.1.