[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Console/ -> GetConfigurationCommand.php (summary)

Joomla! Content Management System

Copyright: (C) 2020 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 360 lines (9 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

GetConfigurationCommand:: (8 methods):
  configureIO()
  processGroupOptions()
  getGroups()
  formatConfig()
  processSingleOption()
  formatConfigValue()
  configure()
  doExecute()


Class: GetConfigurationCommand  - X-Ref

Console command for displaying configuration options

configureIO(InputInterface $input, OutputInterface $output)   X-Ref
Configures the IO

param: InputInterface   $input   Console Input
param: OutputInterface  $output  Console Output
return: void

processGroupOptions($group)   X-Ref
Displays logically grouped options

param: string  $group  The group to be processed
return: integer

getGroups()   X-Ref
Gets the defined option groups

return: array

formatConfig(array $configs)   X-Ref
Formats the configuration array into desired format

param: array  $configs  Array of the configurations
return: array

processSingleOption($option)   X-Ref
Handles the command when a single option is requested

param: string  $option  The option we want to get its value
return: integer

formatConfigValue($value)   X-Ref
Formats the Configuration value

param: mixed  $value  Value to be formatted
return: string

configure()   X-Ref
Initialise the command.

return: void

doExecute(InputInterface $input, OutputInterface $output)   X-Ref
Internal function to execute the command.

param: InputInterface   $input   The input to inject into the command.
param: OutputInterface  $output  The output to inject into the command.
return: integer  The command exit code



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer