Stud.IP  4.2 Revision
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 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

◆ activate_action()

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()

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
Here is the call graph for this function:

◆ bulk_action()

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()

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()

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()

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()

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: