Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Champs de données | |
const | COMMAND = 'console.command' |
const | SIGNAL = 'console.signal' |
const | TERMINATE = 'console.terminate' |
const | ERROR = 'console.error' |
const | ALIASES |
Contains all events dispatched by an Application.
const ALIASES |
Event aliases.
These aliases can be consumed by RegisterListenersPass.
const COMMAND = 'console.command' |
The COMMAND event allows you to attach listeners before any command is executed by the console. It also allows you to modify the command, input and output before they are handed to the command.
("Symfony\Component\Console\Event\ConsoleCommandEvent")
Référencé par Application\doRunCommand().
const ERROR = 'console.error' |
The ERROR event occurs when an uncaught exception or error appears.
This event allows you to deal with the exception/error or to modify the thrown exception.
("Symfony\Component\Console\Event\ConsoleErrorEvent")
Référencé par Application\doRun(), Application\doRunCommand(), et ErrorListener\getSubscribedEvents().
const SIGNAL = 'console.signal' |
The SIGNAL event allows you to perform some actions after the command execution was interrupted.
("Symfony\Component\Console\Event\ConsoleSignalEvent")
Référencé par Application\doRunCommand().
const TERMINATE = 'console.terminate' |
The TERMINATE event allows you to attach listeners after a command is executed by the console.
("Symfony\Component\Console\Event\ConsoleTerminateEvent")
Référencé par Application\doRunCommand(), et ErrorListener\getSubscribedEvents().