ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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. <string, Objective>
Definition at line 30 of file ObjectiveIterator.php.
ILIAS\Setup\ObjectiveIterator::__construct | ( | Environment | $environment, |
Objective | $objective | ||
) |
Definition at line 58 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 91 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$current, and null.
Referenced by ILIAS\Setup\ObjectiveIterator\key(), ILIAS\Setup\ObjectiveIterator\next(), ILIAS\Setup\ObjectiveIterator\rewind(), and ILIAS\Setup\ObjectiveIterator\valid().
|
protected |
Definition at line 177 of file ObjectiveIterator.php.
References Vendor\Package\$d.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::key | ( | ) |
Definition at line 101 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
ILIAS\Setup\ObjectiveIterator::markAsFailed | ( | Objective | $objective | ) |
Definition at line 70 of file ObjectiveIterator.php.
References ILIAS\Setup\Objective\getHash().
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::next | ( | ) |
Definition at line 106 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current(), ILIAS\Setup\ObjectiveIterator\detectDependencyCycles(), ILIAS\Setup\ObjectiveIterator\markAsFailed(), null, and ILIAS\Setup\ObjectiveIterator\setReverseDependency().
Referenced by ILIAS\Setup\ObjectiveIterator\rewind().
ILIAS\Setup\ObjectiveIterator::rewind | ( | ) |
Definition at line 81 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$objective, ILIAS\Setup\ObjectiveIterator\current(), ILIAS\Setup\ObjectiveIterator\next(), and null.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct().
ILIAS\Setup\ObjectiveIterator::setEnvironment | ( | Environment | $environment | ) |
Definition at line 65 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$environment, and ILIAS\UI\examples\Table\Presentation\environment().
|
protected |
Definition at line 192 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
ILIAS\Setup\ObjectiveIterator::valid | ( | ) |
Definition at line 172 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current(), and null.
Definition at line 40 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\current().
|
protected |
Definition at line 32 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\setEnvironment().
|
protected |
Definition at line 50 of file ObjectiveIterator.php.
|
protected |
Definition at line 33 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\__construct(), and ILIAS\Setup\ObjectiveIterator\rewind().
|
protected |
Definition at line 45 of file ObjectiveIterator.php.
|
protected |
Definition at line 55 of file ObjectiveIterator.php.
|
protected |
Definition at line 38 of file ObjectiveIterator.php.