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

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ()
 
 edit_action ($id=null)
 
 delete_action ($id)
 
- 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)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 controller_path ()
 
- 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()

before_filter ( $action,
$args 
)

common tasks for all actions

Parameters
String$actionAction that has been called
Array$argsList of arguments
Here is the call graph for this function:

◆ delete_action()

delete_action (   $id)

This method deletes a holiday or a bundle of holidays.

Parameters
string$idId of the holiday (or 'bulk' for a bulk operation)
Here is the call graph for this function:

◆ edit_action()

edit_action (   $id = null)

This method edits existing holidays or creates new holidays

Parameters
mixed$idId of the holiday or null to create one
Here is the call graph for this function:

◆ index_action()

index_action ( )

Display all informations about the holidays

Here is the call graph for this function:

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