Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Admin_ConfigurationController Class Reference
Inheritance diagram for Admin_ConfigurationController:
AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 configuration_action ()
 
 edit_configuration_action ()
 
 range_configuration_action ()
 
 edit_range_config_action ($range_id)
 
 user_configuration_action ()
 
 edit_user_config_action (User $user)
 
 course_configuration_action ()
 
 edit_course_config_action (Course $course)
 
 institute_configuration_action ()
 
 edit_institute_config_action (Institute $institute)
 
- 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

 validateInput ($field, &$value)
 
 setupSidebar ($range_type)
 
- 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 
)

Common before filter for all actions.

Parameters
String$actionCalled actions
Array$argsPassed arguments
configuration_action ( )

Maintenance view for the configuration parameters

course_configuration_action ( )

Show all parameters for a course or show the system course parameters

edit_configuration_action ( )

Editview: Edit the configuration parameters: value, comment, section

edit_course_config_action ( Course  $course)

Change course parameter for one course (value)

Parameters
String$course_id
edit_institute_config_action ( Institute  $institute)

Change institute parameter for one institute (value)

Parameters
String$institute
edit_range_config_action (   $range_id)

Editview: Change range-parameter for one range (value)

Parameters
String$range_id
edit_user_config_action ( User  $user)

Editview: Change user-parameter for one user (value)

Parameters
String$user_id
institute_configuration_action ( )

Show all parameters for an institute or show the system institute parameters

range_configuration_action ( )

Rangeview: Show all user-parameter for a Range or show the system range-parameter

setupSidebar (   $range_type)
protected

Sets up the sidebar

Parameters
bool$range_typeDetermine the sidebar search type
user_configuration_action ( )

Userview: Show all user-parameter for a user or show the system user-parameter

validateInput (   $field,
$value 
)
protected

Validates given input

Parameters
String$fieldConfig field to validate
String$valueValue that has been input
Returns
boolean indicating whether the value is valid

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