[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Console/ -> ExtensionDiscoverInstallCommand.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: 233 lines (7 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

ExtensionDiscoverInstallCommand:: (6 methods):
  __construct()
  configureIO()
  configure()
  processDiscover()
  getNote()
  doExecute()


Class: ExtensionDiscoverInstallCommand  - X-Ref

Console command for discovering extensions

__construct(DatabaseInterface $db)   X-Ref
Instantiate the command.

param: DatabaseInterface  $db  Database connector

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

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

configure()   X-Ref
Initialise the command.

return: void

processDiscover($eid)   X-Ref
Used for discovering extensions

param: string  $eid  Id of the extension
return: integer  The count of installed extensions

getNote(int $count, int $eid)   X-Ref
Used for finding the text for the note

param: int  $count   Number of extensions to install
param: int  $eid     ID of the extension or -1 if no special
return: string  The text for the note

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