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

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ()
 
 store_action ()
 
 open_action ($id)
 
 close_action ($id)
 
 module_icon ($area)
 
- Public Member Functions inherited from Settings_SettingsController
 before_filter (&$action, &$args)
 
 url_for ($to='')
 
 get_default_template ($action)
 
 render_nothing ($text='')
 
 shallChange ($field, $attribute=null, $value=null)
 
 after_filter ($action, $args)
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from Settings_SettingsController
 check_ticket ()
 
 postPrivateMessage ($message)
 
- Protected Attributes inherited from Settings_SettingsController
 $private_messages = array()
 
- 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 
)

Set up this controller

Parameters
String$actionName of the action to be invoked
Array$argsArguments to be passed to the action method
Exceptions
AccessDeniedExceptionif notifications are not globally enabled or if the user has no access to these notifications (admin or root accounts).
Here is the call graph for this function:

◆ close_action()

close_action (   $id)

Closes a specific area.

Parameters
String$idId of the area to be closed

◆ index_action()

index_action ( )

Display the notification settings of a user.

Here is the call graph for this function:

◆ module_icon()

module_icon (   $area)

◆ open_action()

open_action (   $id)

Opens a specific area.

Parameters
String$idId of the area to be opened

◆ store_action()

store_action ( )

Stores the notification settings of a user.

Here is the call graph for this function:

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