![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de AbstractCliApplication:Fonctions membres publiques | |
| __construct (Input\Cli $input=null, Registry $config=null, Cli\CliOutput $output=null, Cli\CliInput $cliInput=null) | |
| getOutput () | |
| getCliInput () | |
| out ($text='', $nl=true) | |
| in () | |
Fonctions membres publiques hérités de AbstractApplication | |
| __construct (Input $input=null, Registry $config=null) | |
| close ($code=0) | |
| execute () | |
| get ($key, $default=null) | |
| getLogger () | |
| set ($key, $value=null) | |
| setConfiguration (Registry $config) | |
| setLogger (LoggerInterface $logger) | |
Attributs protégés | |
| $output | |
| $cliInput | |
Attributs protégés hérités de AbstractApplication | |
| $config | |
Membres hérités additionnels | |
Champs de données hérités de AbstractApplication | |
| $input | |
Fonctions membres protégées hérités de AbstractApplication | |
| doExecute () | |
| initialise () | |
Base class for a Joomla! command line application.
joomla/console package instead | __construct | ( | Input\Cli | $input = null, |
| Registry | $config = null, |
||
| Cli\CliOutput | $output = null, |
||
| Cli\CliInput | $cliInput = null |
||
| ) |
Class constructor.
| Input\Cli | $input | An optional argument to provide dependency injection for the application's input object. If the argument is an Input object that object will become the application's input object, otherwise a default input object is created. |
| Registry | $config | An optional argument to provide dependency injection for the application's config object. If the argument is a Registry object that object will become the application's config object, otherwise a default config object is created. |
| Cli\CliOutput | $output | An optional argument to provide dependency injection for the application's output object. If the argument is a Cli object that object will become the application's input object, otherwise a default output object is created. |
| Cli\CliInput | $cliInput | An optional argument to provide dependency injection for the application's CLI input object. If the argument is a Cli object that object will become the application's input object, otherwise a default input object is created. |
Références AbstractCliApplication\$cliInput, AbstractApplication\$config, AbstractApplication\$input, AbstractCliApplication\$output, et AbstractApplication\close().
| getCliInput | ( | ) |
Get a CLI input object.
Références AbstractCliApplication\$cliInput.
Référencé par AbstractCliApplication\in().
| getOutput | ( | ) |
Get an output object.
Références AbstractCliApplication\$output.
Référencé par AbstractCliApplication\out().
| in | ( | ) |
Get a value from standard input.
Références AbstractCliApplication\getCliInput().
| out | ( | $text = '', |
|
$nl = true |
|||
| ) |
Write a string to standard output.
| string | $text | The text to display. |
| boolean | $nl | True (default) to append a new line at the end of the output string. |
Références $text, et AbstractCliApplication\getOutput().
|
protected |
|
protected |