ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilWorkflow.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
13
class
ilWorkflow
14
{
15
var
$steps
= array();
16
20
function
__construct
()
21
{
22
}
23
29
function
setTitle
($a_val)
30
{
31
$this->title = $a_val;
32
}
33
39
function
getTitle
()
40
{
41
return
$this->title
;
42
}
43
49
function
addStep
($a_step)
50
{
51
$this->steps[] = $a_step;
52
}
53
57
function
getSteps
()
58
{
59
return
$this->steps
;
60
}
61
66
function
determineNextStep
()
67
{
68
foreach
($this->steps as $step)
69
{
70
if
(!$step->hasRun())
71
{
72
return
$step;
73
}
74
75
if
(!$step->isFulfilled())
76
{
77
return
$step;
78
}
79
}
80
return
null;
81
}
82
}
83
84
?>
Services
Workflow
classes
class.ilWorkflow.php
Generated on Mon Apr 25 2016 19:01:46 for ILIAS by
1.8.1.2 (using
Doxyfile
)