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

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ()
 
 update_action ()
 
 reset_action ($state=false)
 
- 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)
 

Data Fields

 $user_id = ''
 
 $modules = array()
 
 $plugins = array()
 

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
 

Detailed Description

Controller for the (de-)activation of homepage plugins for every user.

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)

This function is called before any output is generated or any other actions are performed. Initializations happen here.

Parameters
$actionName of the action to perform
$argsArguments for the given action
Here is the call graph for this function:

◆ index_action()

index_action ( )

Generates an overview of installed plugins and provides the possibility to (de-)activate each of them.

Here is the call graph for this function:

◆ reset_action()

reset_action (   $state = false)

Resets/deactivates all profile modules.

Here is the call graph for this function:

◆ update_action()

update_action ( )

Updates the activation status of user's homepage plugins.

Here is the call graph for this function:

Field Documentation

◆ $modules

$modules = array()

◆ $plugins

$plugins = array()

◆ $user_id

$user_id = ''

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