[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/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):
  __construct()
  configure()
  execute()
  commit_changes()


Class: delete  - X-Ref

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

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.

return: int 0 if all is ok, 1 if a thumbnail couldn't be deleted.
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.

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

param: array $thumbnail_deleted



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1