uawdijnntqw1x1x1
IP : 216.73.217.31
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
administrator
/
components
/
.
/
com_akeeba
/
CliCommands
/
SysconfigList.php
/
/
<?php /** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Backup\Admin\CliCommands; defined('_JEXEC') || die; use Joomla\Console\Command\AbstractCommand; use Akeeba\Backup\Admin\CliCommands\MixIt\ArgumentUtilities; use Akeeba\Backup\Admin\CliCommands\MixIt\ComponentOptions; use Akeeba\Backup\Admin\CliCommands\MixIt\ConfigureIO; use Akeeba\Backup\Admin\CliCommands\MixIt\PrintFormattedArray; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** * akeeba:sysconfig:list * * Lists the Akeeba Backup component-wide options * * @since 7.5.0 */ class SysconfigList extends AbstractCommand { use ConfigureIO, ArgumentUtilities, PrintFormattedArray, ComponentOptions; /** * The default command name * * @var string * @since 7.5.0 */ protected static $defaultName = 'akeeba:sysconfig:list'; /** * 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 * * @since 7.5.0 */ protected function doExecute(InputInterface $input, OutputInterface $output): int { $this->configureSymfonyIO($input, $output); $format = (string) $this->cliInput->getOption('format') ?? 'table'; $output = $this->getComponentOptions(); if (in_array($format, ['table', 'csv'])) { $temp = []; foreach ($output as $k => $v) { $temp[] = [ 'key' => $k, 'value' => $v, ]; } $output = $temp; } return $this->printFormattedAndReturn($output, $format); } /** * Configure the command. * * @return void * * @since 7.5.0 */ protected function configure(): void { $help = "<info>%command.name%</info> will list the Akeeba Backup component-wide options. \nUsage: <info>php %command.full_name%</info>"; $this->addOption('format', null, InputOption::VALUE_OPTIONAL, 'Output format: table, json, yaml, csv, count.', 'table'); $this->setDescription('Lists the Akeeba Backup component-wide options'); $this->setHelp($help); } }
/home/pteabiscqq/www/administrator/components/./com_akeeba/CliCommands/SysconfigList.php