ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
A callable objective wraps a callable into an objective. More...
Public Member Functions | |
__construct (callable $callable, string $label, bool $is_notable, Objective ... $preconditions) | |
getHash () | |
getLabel () | |
isNotable () | |
getPreconditions (Environment $environment) | |
achieve (Environment $environment) | |
Protected Attributes | |
$callable | |
$label | |
$is_notable | |
$preconditions | |
A callable objective wraps a callable into an objective.
The callable receives the environment as parameter. It may return an updated version of the environment, other results will be discarded.
Definition at line 15 of file CallableObjective.php.
ILIAS\Setup\CallableObjective::__construct | ( | callable | $callable, |
string | $label, | ||
bool | $is_notable, | ||
Objective ... | $preconditions | ||
) |
Definition at line 37 of file CallableObjective.php.
References ILIAS\Setup\CallableObjective\$callable, ILIAS\Setup\CallableObjective\$is_notable, ILIAS\Setup\CallableObjective\$label, and ILIAS\Setup\CallableObjective\$preconditions.
ILIAS\Setup\CallableObjective::achieve | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 83 of file CallableObjective.php.
References $res.
ILIAS\Setup\CallableObjective::getHash | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 48 of file CallableObjective.php.
ILIAS\Setup\CallableObjective::getLabel | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 59 of file CallableObjective.php.
References ILIAS\Setup\CallableObjective\$label.
ILIAS\Setup\CallableObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 75 of file CallableObjective.php.
References ILIAS\Setup\CallableObjective\$preconditions.
ILIAS\Setup\CallableObjective::isNotable | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 67 of file CallableObjective.php.
References ILIAS\Setup\CallableObjective\$is_notable.
|
protected |
Definition at line 20 of file CallableObjective.php.
Referenced by ILIAS\Setup\CallableObjective\__construct().
|
protected |
Definition at line 30 of file CallableObjective.php.
Referenced by ILIAS\Setup\CallableObjective\__construct(), and ILIAS\Setup\CallableObjective\isNotable().
|
protected |
Definition at line 25 of file CallableObjective.php.
Referenced by ILIAS\Setup\CallableObjective\__construct(), and ILIAS\Setup\CallableObjective\getLabel().
|
protected |
Definition at line 35 of file CallableObjective.php.
Referenced by ILIAS\Setup\CallableObjective\__construct(), and ILIAS\Setup\CallableObjective\getPreconditions().