ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Wrapper around symfonies input and output facilities to provide just the functionality required for the ILIAS-setup. More...
Public Member Functions | |
__construct (InputInterface $in, OutputInterface $out) | |
startProgress (int $max) | |
advanceProgress () | |
stopProgress () | |
inform (string $message) | |
confirmExplicit (string $message, string $type_text_to_confirm) | |
confirmOrDeny (string $message) | |
printLicenseMessage () | |
title (string $title) | |
success (string $text) | |
error (string $text) | |
text (string $text) | |
startObjective (string $label, bool $is_notable) | |
finishedLastObjective () | |
failedLastObjective () | |
isVerbose () | |
Data Fields | |
const | LABEL_WIDTH = 75 |
const | ELLIPSIS = "..." |
Protected Member Functions | |
shouldSayYes () | |
outputInObjective () | |
showLastObjectiveLabel () | |
Protected Attributes | |
$in | |
$out | |
$style | |
$last_objective_was_notable = false | |
$last_objective_label = "" | |
$output_in_objective = false | |
Wrapper around symfonies input and output facilities to provide just the functionality required for the ILIAS-setup.
Definition at line 16 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::__construct | ( | InputInterface | $in, |
OutputInterface | $out | ||
) |
Definition at line 51 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\$in, and ILIAS\Setup\CLI\IOWrapper\$out.
ILIAS\Setup\CLI\IOWrapper::advanceProgress | ( | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 64 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::confirmExplicit | ( | string | $message, |
string | $type_text_to_confirm | ||
) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 80 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\inform(), ILIAS\Setup\CLI\IOWrapper\outputInObjective(), and ILIAS\Setup\CLI\IOWrapper\shouldSayYes().
ILIAS\Setup\CLI\IOWrapper::confirmOrDeny | ( | string | $message | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 97 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\inform(), ILIAS\Setup\CLI\IOWrapper\outputInObjective(), and ILIAS\Setup\CLI\IOWrapper\shouldSayYes().
ILIAS\Setup\CLI\IOWrapper::error | ( | string | $text | ) |
Definition at line 138 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\MigrateCommand\runMigration().
ILIAS\Setup\CLI\IOWrapper::failedLastObjective | ( | ) |
Definition at line 169 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel(), and ILIAS\Setup\CLI\IOWrapper\startObjective().
ILIAS\Setup\CLI\IOWrapper::finishedLastObjective | ( | ) |
Definition at line 158 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel(), and ILIAS\Setup\CLI\IOWrapper\startObjective().
ILIAS\Setup\CLI\IOWrapper::inform | ( | string | $message | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 74 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\outputInObjective().
Referenced by ILIAS\Setup\CLI\IOWrapper\confirmExplicit(), ILIAS\Setup\CLI\IOWrapper\confirmOrDeny(), ILIAS\Setup\CLI\MigrateCommand\listMigrations(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().
ILIAS\Setup\CLI\IOWrapper::isVerbose | ( | ) |
Definition at line 196 of file IOWrapper.php.
|
protected |
Definition at line 181 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel().
Referenced by ILIAS\Setup\CLI\IOWrapper\confirmExplicit(), ILIAS\Setup\CLI\IOWrapper\confirmOrDeny(), and ILIAS\Setup\CLI\IOWrapper\inform().
ILIAS\Setup\CLI\IOWrapper::printLicenseMessage | ( | ) |
Definition at line 110 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\shouldSayYes(), and ILIAS\Setup\CLI\IOWrapper\text().
|
protected |
Definition at line 123 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\confirmExplicit(), ILIAS\Setup\CLI\IOWrapper\confirmOrDeny(), and ILIAS\Setup\CLI\IOWrapper\printLicenseMessage().
|
protected |
Definition at line 189 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\failedLastObjective(), ILIAS\Setup\CLI\IOWrapper\finishedLastObjective(), ILIAS\Setup\CLI\IOWrapper\outputInObjective(), and ILIAS\Setup\CLI\IOWrapper\startObjective().
ILIAS\Setup\CLI\IOWrapper::startObjective | ( | string | $label, |
bool | $is_notable | ||
) |
Definition at line 148 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel().
Referenced by ILIAS\Setup\CLI\IOWrapper\failedLastObjective(), and ILIAS\Setup\CLI\IOWrapper\finishedLastObjective().
ILIAS\Setup\CLI\IOWrapper::startProgress | ( | int | $max | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 59 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::stopProgress | ( | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 69 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::success | ( | string | $text | ) |
Definition at line 133 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::text | ( | string | $text | ) |
Definition at line 143 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\MigrateCommand\listMigrations(), ILIAS\Setup\CLI\IOWrapper\printLicenseMessage(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().
ILIAS\Setup\CLI\IOWrapper::title | ( | string | $title | ) |
Definition at line 128 of file IOWrapper.php.
|
protected |
Definition at line 24 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\__construct().
|
protected |
Definition at line 44 of file IOWrapper.php.
|
protected |
Definition at line 39 of file IOWrapper.php.
|
protected |
Definition at line 29 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\__construct().
|
protected |
Definition at line 49 of file IOWrapper.php.
|
protected |
Definition at line 34 of file IOWrapper.php.
const ILIAS\Setup\CLI\IOWrapper::ELLIPSIS = "..." |
Definition at line 19 of file IOWrapper.php.
const ILIAS\Setup\CLI\IOWrapper::LABEL_WIDTH = 75 |
Definition at line 18 of file IOWrapper.php.