Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
Calendar_CalendarController Class Reference
Inheritance diagram for Calendar_CalendarController:
AuthenticatedController StudipController Calendar_GroupController Calendar_SingleController

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 AuthenticatedController
 before_filter (&$action, &$args)
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 erase_response ()
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to= '')
 
 link_for ($to= '')
 
 redirect ($to)
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter= ';', $enclosure= '"')
 
 render_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 render_temporary_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 relay ($to_uri)
 
 relayWithRedirect (...$args)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 
 validate_datetime ($datetime, $format= 'H:i')
 

Protected Member Functions

 createSidebar ($active=null, $calendar=null)
 
 createSidebarFilter ()
 
 storeEventData (CalendarEvent $event, SingleCalendar $calendar)
 
 parseExceptions ($exc_dates)
 
 parseDateTime ($dt_string)
 
- Protected Member Functions inherited from AuthenticatedController
 keepRequest ()
 
- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 
 getBodyElementIdForControllerAndAction ($unconsumed_path)
 

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
 
 $_autobind = false
 

Member Function Documentation

before_filter ( $action,
$args 
)
createSidebar (   $active = null,
  $calendar = null 
)
protected
createSidebarFilter ( )
protected
edit_action (   $range_id = null,
  $event_id = null 
)
edit_status_action (   $range_id,
  $event_id 
)
index_action ( )
jump_to_action ( )
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
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.
show_declined_action ( )
storeEventData ( CalendarEvent  $event,
SingleCalendar  $calendar 
)
protected
switch_action ( )

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