ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilWorkflowCron Class Reference

ilWorkflowCron is part of the petri net based workflow engine. More...

+ Collaboration diagram for ilWorkflowCron:

Static Public Member Functions

static executeCronjob ()
 This method is the main entry point for all chron tasks that are to be done by/for/with the workflow engine. More...
 
static raiseTimePassedEvent ()
 Raises the generic "time passed" event. More...
 

Detailed Description

ilWorkflowCron is part of the petri net based workflow engine.

This helper class is called from the cron job. Here, all automatic events are wired up for the workflow engine.

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

/

Definition at line 15 of file class.ilWorkflowCron.php.

Member Function Documentation

◆ executeCronjob()

static ilWorkflowCron::executeCronjob ( )
static

This method is the main entry point for all chron tasks that are to be done by/for/with the workflow engine.

Please keep this method clean and shiny. Call out to other methods from here and leave the ordering here clear enough to make it a useful tool to control the facile order of events.

Definition at line 24 of file class.ilWorkflowCron.php.

25  {
26  self::raiseTimePassedEvent();
27  }

◆ raiseTimePassedEvent()

static ilWorkflowCron::raiseTimePassedEvent ( )
static

Raises the generic "time passed" event.

PhpIncludeInspection

Definition at line 32 of file class.ilWorkflowCron.php.

33  {
35  require_once './Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
36  $workflow_engine = new ilWorkflowEngine();
37 
38  $workflow_engine->processEvent(
39  'time_passed',
40  'time_passed',
41  'none',
42  0,
43  'none',
44  0
45  );
46  }
ilWorkflowEngine is part of the petri net based workflow engine.

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