Stud.IP  5.4
Fullcalendar Class Reference

Public Member Functions

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

Static Public Member Functions

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

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 ( )

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

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