[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/console/command/user/ -> delete.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: 170 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

delete:: (4 methods):
  __construct()
  configure()
  execute()
  interact()


Class: delete  - X-Ref

__construct(user $user, driver_interface $db, language $language, log_interface $log, user_loader $user_loader, $phpbb_root_path, $php_ext)   X-Ref
Construct method

param: user             $user
param: driver_interface $db
param: language         $language
param: log_interface    $log
param: user_loader      $user_loader
param: string           $phpbb_root_path
param: string           $php_ext

configure()   X-Ref
Sets the command name and description

return: null

execute(InputInterface $input, OutputInterface $output)   X-Ref
Executes the command user:delete

Deletes a user from the database. An option to delete the user's posts
is available, by default posts will be retained.

param: InputInterface  $input  The input stream used to get the options
param: OutputInterface $output The output stream, used to print messages
return: int 0 if all is well, 1 if any errors occurred

interact(InputInterface $input, OutputInterface $output)   X-Ref
Interacts with the user.
Confirm they really want to delete the account...last chance!

param: InputInterface  $input  An InputInterface instance
param: OutputInterface $output An OutputInterface instance



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1