Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
Settings_CategoriesController Class Reference
Inheritance diagram for Settings_CategoriesController:
Inheritance graph
Collaboration diagram for Settings_CategoriesController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 index_action ($verify_action=null, $verify_id=null)
 create_action ()
 delete_action ($id, $verified=false)
 store_action ()
 swap_action ($id0, $id1)
- Public Member Functions inherited from Settings_SettingsController
 url_for ($to)
 get_default_template ($action)
 render_nothing ($text= '')
 shallChange ($field, $attribute=null, $value=null)
 verifyDialog ($message, $approved, $rejected)
 __call ($method, $arguments)
 after_filter ($action, $args)

Additional Inherited Members

- Protected Member Functions inherited from Settings_SettingsController
 check_ticket ()
 populateInfobox ()
 postPrivateMessage ($message)
- Protected Attributes inherited from Settings_SettingsController
 $private_messages = array()

Member Function Documentation

before_filter ( $action,
$args 
)

Set up this controller. Rewrites $action on verification.

Parameters
String$actionName of the action to be invoked
Array$argsArguments to be passed to the action method

Reimplemented from Settings_SettingsController.

Here is the call graph for this function:

create_action ( )

Creates a new category

Here is the call graph for this function:

delete_action (   $id,
  $verified = false 
)

Deletes a given category.

Parameters
String$idId of the category to be deleted
bool$verifiedIndicates whether the delete action has been verfified

Here is the call graph for this function:

index_action (   $verify_action = null,
  $verify_id = null 
)

Display the categories of a user.

Parameters
mixed$verify_actionOptional name of an action to be verified
mixed$verify_idOptional id that belongs to the action to be verified

Here is the call graph for this function:

store_action ( )

Stores all categories

Here is the call graph for this function:

swap_action (   $id0,
  $id1 
)

Swaps the position of two categories

Parameters
String$id0Id of the category to be swapped
String$id1Id of the other category to be swapped

Here is the call graph for this function:


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