|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Tries to enumerate all preconditions for the given objective, where the ones that can be achieved (i.e. More...
Inheritance diagram for ILIAS\Setup\ObjectiveIterator:
Collaboration diagram for ILIAS\Setup\ObjectiveIterator: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().
Here is the call graph for this function:| ILIAS\Setup\ObjectiveIterator::current | ( | ) |
Definition at line 91 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().
Here is the caller graph for this function:
|
protected |
Definition at line 177 of file ObjectiveIterator.php.
References Vendor\Package\$d.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
Here is the caller graph for this function:| ILIAS\Setup\ObjectiveIterator::key | ( | ) |
Definition at line 101 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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(), and ILIAS\Setup\ObjectiveIterator\setReverseDependency().
Referenced by ILIAS\Setup\ObjectiveIterator\rewind().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Setup\ObjectiveIterator::rewind | ( | ) |
Definition at line 81 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\$objective, ILIAS\Setup\ObjectiveIterator\current(), and ILIAS\Setup\ObjectiveIterator\next().
Referenced by ILIAS\Setup\ObjectiveIterator\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
protected |
Definition at line 192 of file ObjectiveIterator.php.
Referenced by ILIAS\Setup\ObjectiveIterator\next().
Here is the caller graph for this function:| ILIAS\Setup\ObjectiveIterator::valid | ( | ) |
Definition at line 172 of file ObjectiveIterator.php.
References ILIAS\Setup\ObjectiveIterator\current().
Here is the call graph for this function:
|
protected |
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.