Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DatabaseInterface $db) | |
Fonctions membres publiques hérités de AbstractCommand | |
__construct (?string $name=null) | |
addArgument (string $name, ?int $mode=null, string $description='', $default=null) | |
addOption (string $name, $shortcut=null, ?int $mode=null, $description='', $default=null) | |
execute (InputInterface $input, OutputInterface $output) | |
getAliases () | |
getApplication () | |
getDefinition () | |
getDescription () | |
getHelp () | |
getHelperSet () | |
getName () | |
getProcessedHelp () | |
getSynopsis (bool $short=false) | |
isEnabled () | |
isHidden () | |
mergeApplicationDefinition (bool $mergeArgs=true) | |
setAliases (array $aliases) | |
setApplication (?Application $application=null) | |
setDefinition ($definition) | |
setDescription (string $description) | |
setHelp (string $help) | |
setHelperSet (HelperSet $helperSet) | |
setHidden (bool $hidden) | |
setName (string $name) | |
Champs de données | |
const | REMOVE_ABORT = 3 |
const | REMOVE_FAILED = 1 |
const | REMOVE_INVALID_RESPONSE = 5 |
const | REMOVE_INVALID_TYPE = 6 |
const | REMOVE_LOCKED = 4 |
const | REMOVE_NOT_FOUND = 2 |
const | REMOVE_SUCCESSFUL = 0 |
Fonctions membres protégées | |
configure () | |
doExecute (InputInterface $input, OutputInterface $output) | |
Fonctions membres protégées hérités de AbstractCommand | |
configure () | |
doExecute (InputInterface $input, OutputInterface $output) | |
initialise (InputInterface $input, OutputInterface $output) | |
Attributs protégés statiques | |
static | $defaultName = 'extension:remove' |
Attributs protégés statiques hérités de AbstractCommand | |
static | $defaultName |
Fonctions membres privées | |
configureIO (InputInterface $input, OutputInterface $output) | |
Attributs privés | |
$cliInput | |
$ioStyle | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de AbstractCommand | |
static | getDefaultName () |
Console command for removing extensions
__construct | ( | DatabaseInterface | $db | ) |
Command constructor.
DatabaseInterface | $db | The database |
Références Symfony\Contracts\Service\__construct(), et Joomla\Database\setDatabase().
|
protected |
|
private |
Configures the IO
Références $input, $language, $output, Factory\getLanguage(), JPATH_ADMINISTRATOR, et null.
|
protected |
Internal function to execute the command.
InputInterface | $input | The input to inject into the command. |
OutputInterface | $output | The output to inject into the command. |
Références $input, $output, elseif, Joomla\Database\getDatabase(), Installer\getInstance(), et Text\sprintf().
|
private |
|
staticprotected |
|
private |
const REMOVE_ABORT = 3 |
Exit Code for extensions remove abort
const REMOVE_FAILED = 1 |
Exit Code for extensions remove failure
const REMOVE_INVALID_RESPONSE = 5 |
Exit Code for invalid response
const REMOVE_INVALID_TYPE = 6 |
Exit Code for invalid type
const REMOVE_LOCKED = 4 |
Exit Code for extensions locked remove failure
const REMOVE_NOT_FOUND = 2 |
Exit Code for extensions not found
const REMOVE_SUCCESSFUL = 0 |
Exit Code for extensions remove success