ILIAS
release_8 Revision v8.19
|
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 | $environment |
Objective | $objective |
array | $stack |
Objective | $current = null |
array | $returned |
array | $failed |
array | $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 29 of file ObjectiveIterator.php.
ILIAS\Setup\ObjectiveIterator::__construct | ( | Environment | $environment, |
Objective | $objective | ||
) |
Definition at line 57 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$environment, ILIAS\Setup\ObjectiveIterator\$objective, ILIAS\UI\examples\Table\Presentation\environment(), and ILIAS\Setup\ObjectiveIterator\rewind().
ILIAS\Setup\ObjectiveIterator::current | ( | ) |
Definition at line 90 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 176 of file ObjectiveIterator.php.
References $d.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::key | ( | ) |
Definition at line 100 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
ILIAS\Setup\ObjectiveIterator::markAsFailed | ( | Objective | $objective | ) |
Definition at line 69 of file ObjectiveIterator.php.
References ILIAS\Setup\Objective\getHash().
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::next | ( | ) |
Definition at line 105 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 80 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 64 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$environment, and ILIAS\UI\examples\Table\Presentation\environment().
|
protected |
Definition at line 191 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::valid | ( | ) |
Definition at line 171 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 39 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 31 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\setEnvironment().
|
protected |
Definition at line 49 of file ObjectiveIterator.php.
|
protected |
Definition at line 32 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\rewind().
|
protected |
Definition at line 44 of file ObjectiveIterator.php.
|
protected |
Definition at line 54 of file ObjectiveIterator.php.
|
protected |
Definition at line 37 of file ObjectiveIterator.php.