Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
write ($messages, bool $newline=false, int $options=0) | |
writeln ($messages, int $options=0) | |
setVerbosity (int $level) | |
getVerbosity () | |
isQuiet () | |
isVerbose () | |
isVeryVerbose () | |
isDebug () | |
setDecorated (bool $decorated) | |
isDecorated () | |
setFormatter (OutputFormatterInterface $formatter) | |
getFormatter () | |
Champs de données | |
const | VERBOSITY_QUIET = 16 |
const | VERBOSITY_NORMAL = 32 |
const | VERBOSITY_VERBOSE = 64 |
const | VERBOSITY_VERY_VERBOSE = 128 |
const | VERBOSITY_DEBUG = 256 |
const | OUTPUT_NORMAL = 1 |
const | OUTPUT_RAW = 2 |
const | OUTPUT_PLAIN = 4 |
OutputInterface is the interface implemented by all Output classes.
getFormatter | ( | ) |
Returns current output formatter instance.
Implémenté dans OutputStyle, Output, et NullOutput.
getVerbosity | ( | ) |
Gets the current verbosity of the output.
Implémenté dans Output, NullOutput, et OutputStyle.
isDebug | ( | ) |
Returns whether verbosity is debug (-vvv).
Implémenté dans OutputStyle, Output, et NullOutput.
isDecorated | ( | ) |
isQuiet | ( | ) |
Returns whether verbosity is quiet (-q).
Implémenté dans OutputStyle, Output, et NullOutput.
isVerbose | ( | ) |
Returns whether verbosity is verbose (-v).
Implémenté dans OutputStyle, Output, et NullOutput.
isVeryVerbose | ( | ) |
Returns whether verbosity is very verbose (-vv).
Implémenté dans OutputStyle, Output, et NullOutput.
setDecorated | ( | bool | $decorated | ) |
Sets the decorated flag.
Implémenté dans OutputStyle, ConsoleOutput, Output, et NullOutput.
setFormatter | ( | OutputFormatterInterface | $formatter | ) |
Implémenté dans OutputStyle, ConsoleOutput, Output, et NullOutput.
setVerbosity | ( | int | $level | ) |
Sets the verbosity of the output.
Implémenté dans ConsoleOutput, Output, NullOutput, et OutputStyle.
write | ( | $messages, | |
bool | $newline = false , |
||
int | $options = 0 |
||
) |
Writes a message to the output.
string | iterable | $messages | The message as an iterable of strings or a single string |
bool | $newline | Whether to add a newline |
int | $options | A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL |
Implémenté dans SymfonyStyle, Output, NullOutput, et OutputStyle.
writeln | ( | $messages, | |
int | $options = 0 |
||
) |
Writes a message to the output and adds a newline at the end.
string | iterable | $messages | The message as an iterable of strings or a single string |
int | $options | A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL |
Implémenté dans SymfonyStyle, Output, NullOutput, et OutputStyle.
Référencé par Application\renderThrowable().
const OUTPUT_NORMAL = 1 |
Référencé par Descriptor\write(), et Output\write().
const OUTPUT_PLAIN = 4 |
Référencé par Output\write().
const OUTPUT_RAW = 2 |
Référencé par Descriptor\write(), et Output\write().
const VERBOSITY_DEBUG = 256 |
const VERBOSITY_NORMAL = 32 |
Référencé par Symfony\Component\Console\Tester\initOutput().
const VERBOSITY_QUIET = 16 |
const VERBOSITY_VERBOSE = 64 |
const VERBOSITY_VERY_VERBOSE = 128 |