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

Public Member Functions

 __construct ($start_hour='', $end_hour='', $show_days='', $start_date='', $show_dates=false)
 
 addEvent ($column, $name, $start_time, $end_time, $link='', $add_info='', $category=0)
 
 getColumnName ($id, $print_view=false)
 
 getHoliday ($id)
 
- Public Member Functions inherited from ScheduleView
 __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

 $show_dates
 
- Data Fields inherited from ScheduleView
 $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 = '',
  $end_hour = '',
  $show_days = '',
  $start_date = '',
  $show_dates = false 
)

Member Function Documentation

◆ addEvent()

addEvent (   $column,
  $name,
  $start_time,
  $end_time,
  $link = '',
  $add_info = '',
  $category = 0 
)

◆ getColumnName()

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

◆ getHoliday()

getHoliday (   $id)

Returns if a given calendar colum is a holiday.

Parameters
string$id
Returns
mixed false if no holiday was found, an array with the name and the "col" value of the holiday otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $show_dates

$show_dates

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