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

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ($action=false, $widgetId=null)
 
 add_action ()
 
 edit_defaults_action ($permission)
 
 update_defaults_action ($permission)
 
 delete_action ($id)
 
 reset_action ()
 
 storeNewOrder_action ()
 
 resend_validation_mail_action ()
 
 edit_mail_address_action ()
 
 change_mail_address_action ()
 
- 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 Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 

Member Function Documentation

◆ add_action()

add_action ( )

This action adds one or more new widgets to the start page

Returns
void
Here is the call graph for this function:

◆ before_filter()

before_filter ( $action,
$args 
)

Callback function being called before an action is executed.

Here is the call graph for this function:

◆ change_mail_address_action()

change_mail_address_action ( )

Change the mail-address and resend validation mail

Returns
void
Here is the call graph for this function:

◆ delete_action()

delete_action (   $id)

This actions removes a new widget from the start page

Parameters
string$widgetId
string$approveDelete
string$studipticket
Here is the call graph for this function:

◆ edit_defaults_action()

edit_defaults_action (   $permission)

Edit the default startpage configuration for users by permissions

Parameters
string$permission
Exceptions
InvalidArgumentException
Here is the call graph for this function:

◆ edit_mail_address_action()

edit_mail_address_action ( )

Show form to change the mail-address for the validation mail

Returns
void
Here is the call graph for this function:

◆ index_action()

index_action (   $action = false,
  $widgetId = null 
)

Entry point of the controller that displays the start page of Stud.IP

Parameters
string$action
string$widgetId
Returns
void
Here is the call graph for this function:

◆ resend_validation_mail_action()

resend_validation_mail_action ( )

Resend the validation mail for the current user

Returns
void
Here is the call graph for this function:

◆ reset_action()

reset_action ( )

Resets widget to initial default state.

Here is the call graph for this function:

◆ storeNewOrder_action()

storeNewOrder_action ( )

Action to store the widget placements

Returns
void
Here is the call graph for this function:

◆ update_defaults_action()

update_defaults_action (   $permission)

Store the edited default startpage configuration for users by permissions

Parameters
string$permission
Exceptions
InvalidArgumentException
Here is the call graph for this function:

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