Stud.IP  trunk Revision
ScheduleView Class Reference
Inheritance diagram for ScheduleView:
Inheritance graph
Collaboration diagram for ScheduleView:
Collaboration graph

Public Member Functions

 __construct ($start_hour=8, $end_hour=20, $show_columns=false, $start_date=false)
 
 addEvent ($column, $name, $start_time, $end_time, $link='', $add_info='', $category=0)
 
 checkCollision ($index, $category)
 
 getColumnName ($id, $print_view=false)
 
 getAddLink ($l, $i)
 
 getEventName ($id, $font_color, $print_view)
 
 getShortName ($name, $print_view)
 
 showSchedule ($mode='html', $print_view=false)
 

Data Fields

 $events = []
 
 $cell_allocations
 
 $start_hour
 
 $end_hour
 
 $show_columns
 
 $add_link
 
 $start_date
 
 $categories
 
 $add_info_is_html = false
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $start_hour = 8,
  $end_hour = 20,
  $show_columns = false,
  $start_date = false 
)
Here is the call graph for this function:

Member Function Documentation

◆ addEvent()

addEvent (   $column,
  $name,
  $start_time,
  $end_time,
  $link = '',
  $add_info = '',
  $category = 0 
)
Here is the call graph for this function:

◆ checkCollision()

checkCollision (   $index,
  $category 
)
Here is the caller graph for this function:

◆ getAddLink()

getAddLink (   $l,
  $i 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getColumnName()

getColumnName (   $id,
  $print_view = false 
)
Here is the call graph for this function:

◆ getEventName()

getEventName (   $id,
  $font_color,
  $print_view 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getShortName()

getShortName (   $name,
  $print_view 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showSchedule()

showSchedule (   $mode = 'html',
  $print_view = false 
)

Field Documentation

◆ $add_info_is_html

$add_info_is_html = false

◆ $add_link

$add_link

◆ $categories

$categories

◆ $cell_allocations

$cell_allocations

◆ $end_hour

$end_hour

◆ $events

$events = []

◆ $show_columns

$show_columns

◆ $start_date

$start_date

◆ $start_hour

$start_hour

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