[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

Defines 1 class

activate:: (4 methods):
  __construct()
  configure()
  execute()
  send_notification()


Class: activate  - X-Ref

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

param: user             $user
param: driver_interface $db
param: config           $config
param: language         $language
param: log_interface    $log
param: manager          $notifications
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:activate

Activate (or deactivate) a user account

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

send_notification($user_row, InputInterface $input)   X-Ref
Send account activation notification to user

param: array           $user_row The user data array
param: InputInterface  $input    The input stream used to get the options
return: null



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1