[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch




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

Defines 1 class

delete:: (4 methods):

Class: delete  - X-Ref

__construct(\phpbb\config\config $config, \phpbb\user $user, \phpbb\db\driver\driver_interface $db, $phpbb_root_path)   X-Ref

param: \config\config $config The config
param: \phpbb\user $user The user object (used to get language information)
param: \phpbb\db\driver\driver_interface $db Database connection
param: string $phpbb_root_path Root path

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

return: null

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

Deletes all existing thumbnails and updates the database accordingly.

param: InputInterface $input The input stream used to get the argument and verbose option.
param: OutputInterface $output The output stream, used for printing verbose-mode and error information.
return: int 0 if all is ok, 1 if a thumbnail couldn't be deleted.

commit_changes(array $thumbnail_deleted)   X-Ref
Commits the changes to the database

param: array $thumbnail_deleted

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