[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/database/src/Command/ -> ImportCommand.php (summary)

Part of the Joomla Framework Database Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 281 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ImportCommand:: (4 methods):
  __construct()
  checkZipFile()
  doExecute()
  configure()


Class: ImportCommand  - X-Ref

Console command for importing the database

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

param: DatabaseDriver  $db  Database connector

checkZipFile(string $archive)   X-Ref
Checks if the zip file contains database export files

param: string  $archive  A zip archive to analyze
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

configure()   X-Ref
Configure the command.

return: void



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