21 public static function time()
23 if (@
defined(IL_PHPUNIT_TEST) && IL_PHPUNIT_TEST ==
true) {
28 return $ilSetting->get(
'IL_PHPUNIT_TEST_TIME', time());
37 public static function microtime()
39 if (@
defined(IL_PHPUNIT_TEST) && IL_PHPUNIT_TEST ==
true) {
44 return $ilSetting->get(
'IL_PHPUNIT_TEST_MICROTIME', time());
57 if (!$workflow_engine) {
58 require_once
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
62 $workflow_engine->processEvent(
An exception for terminatinating execution or to throw for unit testing.
ilWorkflowEngine is part of the petri net based workflow engine.
ilWorkflowUtils is part of the petri net based workflow engine.
static handleTimePassedEvent($workflow_engine=null)
Handles the generic time_passed event.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'