ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 13 of file ObjectiveIterator.php.
ILIAS\Setup\ObjectiveIterator::__construct | ( | Environment | $environment, |
Objective | $objective | ||
) |
Definition at line 51 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 84 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 167 of file ObjectiveIterator.php.
References $d.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::key | ( | ) |
Definition at line 94 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
ILIAS\Setup\ObjectiveIterator::markAsFailed | ( | Objective | $objective | ) |
Definition at line 63 of file ObjectiveIterator.php.
References ILIAS\Setup\Objective\getHash().
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::next | ( | ) |
Definition at line 99 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current(), ILIAS\Setup\ObjectiveIterator\detectDependencyCycles(), ILIAS\Setup\ObjectiveIterator\markAsFailed(), and ILIAS\Setup\ObjectiveIterator\setReverseDependency().
Referenced by ILIAS\Setup\ObjectiveIterator\rewind().
ILIAS\Setup\ObjectiveIterator::rewind | ( | ) |
Definition at line 74 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 58 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$environment, and environment().
|
protected |
Definition at line 182 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::valid | ( | ) |
Definition at line 162 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 33 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 18 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\setEnvironment().
|
protected |
Definition at line 43 of file ObjectiveIterator.php.
|
protected |
Definition at line 23 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\rewind().
|
protected |
Definition at line 38 of file ObjectiveIterator.php.
|
protected |
Definition at line 48 of file ObjectiveIterator.php.
|
protected |
Definition at line 28 of file ObjectiveIterator.php.