Stud.IP  6.1
Fullcalendar Class Reference

Public Member Functions

 __construct ( $title='', $config=[], $attributes=[], $data_name='fullcalendar')
 
 setDefaultView (?string $view)
 
 setResponsiveDefaultView (?string $view)
 
 render ()
 

Static Public Member Functions

static create ( $title='', $config=[], $attributes=[], $data_name='fullcalendar')
 
static createData ($objects=[], $begin=null, $end=null)
 

Data Fields

const VIEW_MONTH = 'dayGridMonth'
 
const VIEW_WEEK = 'timeGridWeek'
 
const VIEW_DAY = 'timeGridDay'
 
const GROUP_WEEK = 'resourceTimelineWeek'
 
const GROUP_DAY = 'resourceTimelineDay'
 

Protected Attributes

 $title
 
 $config
 
 $attributes
 
 $data_name
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $title = '',
  $config = [],
  $attributes = [],
  $data_name = 'fullcalendar' 
)

Member Function Documentation

◆ create()

static create (   $title = '',
  $config = [],
  $attributes = [],
  $data_name = 'fullcalendar' 
)
static

◆ createData()

static createData (   $objects = [],
  $begin = null,
  $end = null 
)
static

Creates an array with data for a Fullcalendar instance from Stud.IP objects that implement the EventSource interface.

◆ render()

render ( )

◆ setDefaultView()

setDefaultView ( ?string  $view)

◆ setResponsiveDefaultView()

setResponsiveDefaultView ( ?string  $view)

Field Documentation

◆ $attributes

$attributes
protected

Additional HTML attributes that shall be attached to the section element in which the fullcalendar instance is created.

◆ $config

$config
protected

Fullcalendar configuration options. They are passed to the JavaScript fullcalendar class.

◆ $data_name

$data_name
protected

The name of the fullcalendar for the data attribute. This is set to "fullcalendar" by default, but custom fullcalendars may require special data attributes to prevent the default Fullcalendar JS initialiser to be executed.

◆ $title

$title
protected

◆ GROUP_DAY

const GROUP_DAY = 'resourceTimelineDay'

The standard day view for Stud.IP group calendars.

◆ GROUP_WEEK

const GROUP_WEEK = 'resourceTimelineWeek'

The standard week view for Stud.IP group calendars.

◆ VIEW_DAY

const VIEW_DAY = 'timeGridDay'

The standard day view for Stud.IP calendars.

◆ VIEW_MONTH

const VIEW_MONTH = 'dayGridMonth'

The standard month view for Stud.IP calendars.

◆ VIEW_WEEK

const VIEW_WEEK = 'timeGridWeek'

The standard week view for Stud.IP calendars.


The documentation for this class was generated from the following file: