[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch




/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):

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

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

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

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

Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1