ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Tries to enumerate all preconditions for the given objective, where the ones that can be achieved (i.e. More...
Public Member Functions | |
__construct (Environment $environment, Objective $objective) | |
setEnvironment (Environment $environment) | |
markAsFailed (Objective $objective) | |
rewind () | |
current () | |
key () | |
next () | |
valid () | |
Protected Member Functions | |
detectDependencyCycles (string $cur, string $next) | |
setReverseDependency (string $other, string $cur) | |
Protected Attributes | |
$environment | |
$objective | |
$stack | |
$current | |
$returned | |
$failed | |
$reverse_dependencies | |
Tries to enumerate all preconditions for the given objective, where the ones that can be achieved (i.e.
have no further preconditions on their own) will be returned first. Will also attempt to only return every objective once. This thus expects, that returned objectives will be achieved somehow.
Definition at line 17 of file ObjectiveIterator.php.
ILIAS\Setup\ObjectiveIterator::__construct | ( | Environment | $environment, |
Objective | $objective | ||
) |
Definition at line 55 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$environment, ILIAS\Setup\ObjectiveIterator\$objective, environment(), and ILIAS\Setup\ObjectiveIterator\rewind().
ILIAS\Setup\ObjectiveIterator::current | ( | ) |
Definition at line 88 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$current.
Referenced by ILIAS\Setup\ObjectiveIterator\key(), ILIAS\Setup\ObjectiveIterator\next(), ILIAS\Setup\ObjectiveIterator\rewind(), and ILIAS\Setup\ObjectiveIterator\valid().
|
protected |
Definition at line 162 of file ObjectiveIterator.php.
References $d.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::key | ( | ) |
Definition at line 98 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
ILIAS\Setup\ObjectiveIterator::markAsFailed | ( | Objective | $objective | ) |
Definition at line 67 of file ObjectiveIterator.php.
References ILIAS\Setup\Objective\getHash().
ILIAS\Setup\ObjectiveIterator::next | ( | ) |
Definition at line 103 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current(), ILIAS\Setup\ObjectiveIterator\detectDependencyCycles(), and ILIAS\Setup\ObjectiveIterator\setReverseDependency().
Referenced by ILIAS\Setup\ObjectiveIterator\rewind().
ILIAS\Setup\ObjectiveIterator::rewind | ( | ) |
Definition at line 78 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$objective, ILIAS\Setup\ObjectiveIterator\current(), and ILIAS\Setup\ObjectiveIterator\next().
Referenced by ILIAS\Setup\ObjectiveIterator\__construct().
ILIAS\Setup\ObjectiveIterator::setEnvironment | ( | Environment | $environment | ) |
Definition at line 62 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$environment, and environment().
|
protected |
Definition at line 177 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::valid | ( | ) |
Definition at line 157 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 37 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 22 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\setEnvironment().
|
protected |
Definition at line 47 of file ObjectiveIterator.php.
|
protected |
Definition at line 27 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\rewind().
|
protected |
Definition at line 42 of file ObjectiveIterator.php.
|
protected |
Definition at line 52 of file ObjectiveIterator.php.
|
protected |
Definition at line 32 of file ObjectiveIterator.php.