Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
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 (   $title = '',
  $config = [],
  $attributes = [],
  $data_name = 'fullcalendar' 
)

Member Function Documentation

static create (   $title = '',
  $config = [],
  $attributes = [],
  $data_name = 'fullcalendar' 
)
static
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 ( )

Field Documentation

$attributes
protected

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

$config
protected

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

$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
protected

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