Stud.IP  4.2 Revision
Calendar_CalendarController Class Reference
Inheritance diagram for Calendar_CalendarController:
Inheritance graph
Collaboration diagram for Calendar_CalendarController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ()
 
 edit_action ($range_id=null, $event_id=null)
 
 edit_status_action ($range_id, $event_id)
 
 switch_action ()
 
 jump_to_action ()
 
 show_declined_action ()
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=NULL)
 
 url_for ($to='')
 
 link_for ($to='')
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter=';', $enclosure='"')
 
 relay ($to_uri)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 

Protected Member Functions

 createSidebar ($active=null, $calendar=null)
 
 createSidebarFilter ()
 
 storeEventData (CalendarEvent $event, SingleCalendar $calendar)
 
 parseExceptions ($exc_dates)
 
 parseDateTime ($dt_string)
 

Additional Inherited Members

- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)
Here is the call graph for this function:

◆ createSidebar()

createSidebar (   $active = null,
  $calendar = null 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createSidebarFilter()

createSidebarFilter ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ edit_action()

edit_action (   $range_id = null,
  $event_id = null 
)
Here is the call graph for this function:

◆ edit_status_action()

edit_status_action (   $range_id,
  $event_id 
)
Here is the call graph for this function:

◆ index_action()

index_action ( )
Here is the call graph for this function:

◆ jump_to_action()

jump_to_action ( )
Here is the call graph for this function:

◆ parseDateTime()

parseDateTime (   $dt_string)
protected

Parses a string as date time in the format "j.n.Y H:i:s" and returns the corresponding unix time stamp.

Parameters
string$dt_stringThe date time string.
Returns
int A unix time stamp
Here is the caller graph for this function:

◆ parseExceptions()

parseExceptions (   $exc_dates)
protected

Parses a string with exception dates from input form and returns an array with all dates as unix timestamp identified by an internally used pattern.

Parameters
string$exc_dates
Returns
array An array of unix timestamps.
Here is the caller graph for this function:

◆ show_declined_action()

show_declined_action ( )
Here is the call graph for this function:

◆ storeEventData()

storeEventData ( CalendarEvent  $event,
SingleCalendar  $calendar 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switch_action()

switch_action ( )
Here is the call graph for this function:

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