Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
Admin_Cronjobs_TasksController Class Reference
Inheritance diagram for Admin_Cronjobs_TasksController:
Inheritance graph
Collaboration diagram for Admin_Cronjobs_TasksController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 index_action ($page=1)
 activate_action ($id, $page=1)
 deactivate_action ($id, $page=1)
 delete_action ($id, $page=1)
 bulk_action ($page=1)
 execute_action ($task_id)
- Public Member Functions inherited from AuthenticatedController
 after_filter ($action, $args)
- Public Member Functions inherited from StudipController
 validate_args (&$args, $types=NULL)
 url_for ($to= '')
 link_for ($to= '')
 rescue ($exception)
 setInfoBoxImage ($image)
 addToInfobox ($category, $text, $icon= 'blank.gif')
 render_json ($data)
 relay ($to_uri)
 perform_relayed ($unconsumed)
 render_template_as_string ($template, $layout=null)

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 populateInfobox ()
- Protected Attributes inherited from AuthenticatedController
 $allow_nobody = false

Member Function Documentation

activate_action (   $id,
  $page = 1 
)

Activates a tasks.

Parameters
String$idId of the task in question
int$pageReturn to this page after activating (optional)

Here is the call graph for this function:

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

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

bulk_action (   $page = 1)

Performs a bulk operation on a set of tasks. Operation can be either activating, deactivating or deleting.

Parameters
int$pageReturn to this page afterwarsd (optional)

Here is the call graph for this function:

deactivate_action (   $id,
  $page = 1 
)

Deactivates a tasks.

Parameters
String$idId of the task in question
int$pageReturn to this page after deactivating (optional)

Here is the call graph for this function:

delete_action (   $id,
  $page = 1 
)

Deletes a tasks.

Parameters
String$idId of the task in question
int$pageReturn to this page after deleting (optional)

Here is the call graph for this function:

execute_action (   $task_id)

Executes a single task

Parameters
String$task_idId of the task to be executed

Here is the call graph for this function:

index_action (   $page = 1)

Displays all available tasks.

Parameters
int$pageWhich page to display

Here is the call graph for this function:


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