[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/phpbb/console/command/update/ -> check.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 331 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

check:: (7 methods):
  __construct()
  configure()
  execute()
  check_ext()
  check_core()
  check_all_ext()
  display_versions()


Class: check  - X-Ref

__construct(user $user, config $config, ContainerInterface $phpbb_container, language $language)   X-Ref
Construct method


configure()   X-Ref
Configures the service.

Sets the name and description of the command.

return: null

execute(InputInterface $input, OutputInterface $output)   X-Ref
Executes the command.

Checks if an update is available.
If at least one is available, a message is printed and if verbose mode is set the list of possible updates is printed.
If their is none, nothing is printed unless verbose mode is set.

param: InputInterface $input Input stream, used to get the options.
param: OutputInterface $output Output stream, used to print messages.
return: int 0 if the board is up to date, 1 if it is not and 2 if an error occured.

check_ext(InputInterface $input, SymfonyStyle $io, $stability, $recheck, $ext_name)   X-Ref
Check if a given extension is up to date

param: InputInterface    $input        Input stream, used to get the options.
param: SymfonyStyle        $io            IO handler, for formatted and unified IO
param: string            $stability    Force a given stability
param: bool                $recheck    Disallow the use of the cache
param: string            $ext_name    The extension name
return: int

check_core(InputInterface $input, SymfonyStyle $io, $stability, $recheck)   X-Ref
Check if the core is up to date

param: InputInterface    $input        Input stream, used to get the options.
param: SymfonyStyle        $io            IO handler, for formatted and unified IO
param: string            $stability    Force a given stability
param: bool                $recheck    Disallow the use of the cache
return: int

check_all_ext(SymfonyStyle $io, $stability, $recheck)   X-Ref
Check if all the available extensions are up to date

param: SymfonyStyle    $io            IO handler, for formatted and unified IO
param: bool            $recheck    Disallow the use of the cache
return: int

display_versions(SymfonyStyle $io, $updates_available)   X-Ref
Display the details of the available updates

param: SymfonyStyle    $io                    IO handler, for formatted and unified IO
param: array            $updates_available    The list of the available updates



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1