[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/phpbb/avatar/driver/ -> upload.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: 332 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

upload:: (8 methods):
  __construct()
  get_data()
  prepare_form()
  process_form()
  prepare_form_acp()
  delete()
  get_template_name()
  can_upload()


Class: upload  - X-Ref

Handles avatars uploaded to the board

__construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\filesystem\filesystem_interface $filesystem, \phpbb\path_helper $path_helper, \phpbb\event\dispatcher_interface $dispatcher, \phpbb\files\factory $files_factory, \phpbb\cache\driver\driver_interface $cache = null)   X-Ref
Construct a driver object

param: \phpbb\config\config $config phpBB configuration
param: string $phpbb_root_path Path to the phpBB root
param: string $php_ext PHP file extension
param: \phpbb\filesystem\filesystem_interface $filesystem phpBB filesystem helper
param: \phpbb\path_helper $path_helper phpBB path helper
param: \phpbb\event\dispatcher_interface $dispatcher phpBB Event dispatcher object
param: \phpbb\files\factory $files_factory File classes factory
param: \phpbb\cache\driver\driver_interface $cache Cache driver

get_data($row)   X-Ref
{@inheritdoc}


prepare_form($request, $template, $user, $row, &$error)   X-Ref
{@inheritdoc}


process_form($request, $template, $user, $row, &$error)   X-Ref
{@inheritdoc}


prepare_form_acp($user)   X-Ref
{@inheritdoc}


delete($row)   X-Ref
{@inheritdoc}


get_template_name()   X-Ref
{@inheritdoc}


can_upload()   X-Ref
Check if user is able to upload an avatar

return: bool True if user can upload, false if not



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1