[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch




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

Defines 1 class

generate:: (4 methods):

Class: generate  - X-Ref

__construct(\phpbb\config\config $config, \phpbb\user $user, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, $phpbb_root_path, $php_ext)   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: \phpbb\cache\service $cache The cache service
param: string $phpbb_root_path Root path
param: string $php_ext PHP extension

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

return: null

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

Generate a thumbnail for all attachments which need one and don't have it yet.

param: InputInterface $input The input stream used to get the argument and verboe option.
param: OutputInterface $output The output stream, used for printing verbose-mode and error information.
return: int 0.

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

param: array $thumbnail_created

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