ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilStopWorkflowActivity.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
5
require_once
'./Services/WorkflowEngine/interfaces/ilActivity.php'
;
7
require_once
'./Services/WorkflowEngine/interfaces/ilWorkflowEngineElement.php'
;
9
require_once
'./Services/WorkflowEngine/interfaces/ilNode.php'
;
10
24
class
ilStopWorkflowActivity
implements
ilActivity
,
ilWorkflowEngineElement
25
{
31
private
$context
;
32
34
protected
$name
;
35
41
public
function
__construct
(
ilNode
$context
)
42
{
43
$this->context =
$context
;
44
}
45
51
public
function
getContext
()
52
{
53
return
$this->context
;
54
}
55
62
public
function
execute
()
63
{
67
$workflow = $this->context->getContext();
68
$workflow->stopWorkflow();
69
}
70
74
public
function
__destruct
()
75
{
76
unset($this->context);
77
}
78
82
public
function
setName
(
$name
)
83
{
84
$this->name =
$name
;
85
}
86
90
public
function
getName
()
91
{
92
return
$this->name
;
93
}
94
}
ilStopWorkflowActivity\getContext
getContext()
Returns the parent object.
Definition:
class.ilStopWorkflowActivity.php:51
ilWorkflowEngineElement
ilWorkflowEngineElement Interface is part of the petri net based workflow engine. ...
Definition:
ilWorkflowEngineElement.php:18
ilStopWorkflowActivity\setName
setName($name)
Definition:
class.ilStopWorkflowActivity.php:82
ilNode
PhpIncludeInspection
Definition:
ilNode.php:25
ilStopWorkflowActivity\$name
$name
Definition:
class.ilStopWorkflowActivity.php:34
ilStopWorkflowActivity\getName
getName()
Definition:
class.ilStopWorkflowActivity.php:90
ilActivity\execute
execute()
ilStopWorkflowActivity\$context
$context
Definition:
class.ilStopWorkflowActivity.php:31
ilStopWorkflowActivity
PhpIncludeInspection
Definition:
class.ilStopWorkflowActivity.php:24
php
ilStopWorkflowActivity\__construct
__construct(ilNode $context)
Default constructor.
Definition:
class.ilStopWorkflowActivity.php:41
ilActivity
ilActivity Interface is part of the petri net based workflow engine.
Definition:
ilActivity.php:15
ilStopWorkflowActivity\__destruct
__destruct()
Destructor.
Definition:
class.ilStopWorkflowActivity.php:74
Services
WorkflowEngine
classes
activities
class.ilStopWorkflowActivity.php
Generated on Fri Jan 24 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)